pub struct CqrsStatus {
pub state: CqrsStatusState,
pub command_id: Option<String>,
pub command_type: Option<String>,
pub event_count: usize,
pub error_code: Option<CqrsErrorCode>,
pub cursor: CqrsCursor,
}Expand description
CqrsStatus data container.
Fields§
§state: CqrsStatusStatestate field for state.
command_id: Option<String>command_id field for command id.
command_type: Option<String>command_type field for command type.
event_count: usizeevent_count field for event count.
error_code: Option<CqrsErrorCode>error_code field for error code.
cursor: CqrsCursorcursor field for cursor.
Trait Implementations§
Source§impl Clone for CqrsStatus
impl Clone for CqrsStatus
Source§fn clone(&self) -> CqrsStatus
fn clone(&self) -> CqrsStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CqrsStatus
impl Debug for CqrsStatus
Source§impl PartialEq for CqrsStatus
impl PartialEq for CqrsStatus
impl Eq for CqrsStatus
impl StructuralPartialEq for CqrsStatus
Auto Trait Implementations§
impl Freeze for CqrsStatus
impl RefUnwindSafe for CqrsStatus
impl Send for CqrsStatus
impl Sync for CqrsStatus
impl Unpin for CqrsStatus
impl UnsafeUnpin for CqrsStatus
impl UnwindSafe for CqrsStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.