pub struct CqrsProjectionError {
pub code: CqrsProjectionErrorCode,
pub message: String,
pub event_id: String,
pub event_type: String,
pub cursor: CqrsCursor,
}Expand description
CqrsProjectionError data container.
Fields§
§code: CqrsProjectionErrorCodecode field for code.
message: Stringmessage field for message.
event_id: Stringevent_id field for event id.
event_type: Stringevent_type field for event type.
cursor: CqrsCursorcursor field for cursor.
Trait Implementations§
Source§impl Clone for CqrsProjectionError
impl Clone for CqrsProjectionError
Source§fn clone(&self) -> CqrsProjectionError
fn clone(&self) -> CqrsProjectionError
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 CqrsProjectionError
impl Debug for CqrsProjectionError
Source§impl PartialEq for CqrsProjectionError
impl PartialEq for CqrsProjectionError
impl Eq for CqrsProjectionError
impl StructuralPartialEq for CqrsProjectionError
Auto Trait Implementations§
impl Freeze for CqrsProjectionError
impl RefUnwindSafe for CqrsProjectionError
impl Send for CqrsProjectionError
impl Sync for CqrsProjectionError
impl Unpin for CqrsProjectionError
impl UnsafeUnpin for CqrsProjectionError
impl UnwindSafe for CqrsProjectionError
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.