pub struct CqrsError<TCommand = AnyValue> {
pub code: CqrsErrorCode,
pub message: String,
pub command: Option<CqrsCommand<TCommand>>,
pub cursor: CqrsCursor,
}Expand description
CqrsError data container.
Fields§
§code: CqrsErrorCodecode field for code.
message: Stringmessage field for message.
command: Option<CqrsCommand<TCommand>>command field for command.
cursor: CqrsCursorcursor field for cursor.
Trait Implementations§
impl<TCommand> StructuralPartialEq for CqrsError<TCommand>
Auto Trait Implementations§
impl<TCommand> Freeze for CqrsError<TCommand>where
TCommand: Freeze,
impl<TCommand> RefUnwindSafe for CqrsError<TCommand>where
TCommand: RefUnwindSafe,
impl<TCommand> Send for CqrsError<TCommand>where
TCommand: Send,
impl<TCommand> Sync for CqrsError<TCommand>where
TCommand: Sync,
impl<TCommand> Unpin for CqrsError<TCommand>where
TCommand: Unpin,
impl<TCommand> UnsafeUnpin for CqrsError<TCommand>where
TCommand: UnsafeUnpin,
impl<TCommand> UnwindSafe for CqrsError<TCommand>where
TCommand: UnwindSafe,
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