pub struct AggregateRoot {
pub id: u64,
pub version: u64,
pub pending_events: Vec<String>,
}Fields§
§id: u64§version: u64§pending_events: Vec<String>Auto Trait Implementations§
impl Freeze for AggregateRoot
impl RefUnwindSafe for AggregateRoot
impl Send for AggregateRoot
impl Sync for AggregateRoot
impl Unpin for AggregateRoot
impl UnsafeUnpin for AggregateRoot
impl UnwindSafe for AggregateRoot
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