pub struct CurrentEntity {
pub version: EntityVersion,
pub payload: Vec<u8>,
pub tombstone: bool,
}Expand description
Current authoritative snapshot passed into an application handler.
Fields§
§version: EntityVersionCurrent version.
payload: Vec<u8>Opaque application-owned snapshot bytes.
tombstone: boolWhether the snapshot is a tombstone.
Trait Implementations§
Source§impl Clone for CurrentEntity
impl Clone for CurrentEntity
Source§fn clone(&self) -> CurrentEntity
fn clone(&self) -> CurrentEntity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CurrentEntity
impl Debug for CurrentEntity
impl Eq for CurrentEntity
Source§impl PartialEq for CurrentEntity
impl PartialEq for CurrentEntity
impl StructuralPartialEq for CurrentEntity
Auto Trait Implementations§
impl Freeze for CurrentEntity
impl RefUnwindSafe for CurrentEntity
impl Send for CurrentEntity
impl Sync for CurrentEntity
impl Unpin for CurrentEntity
impl UnsafeUnpin for CurrentEntity
impl UnwindSafe for CurrentEntity
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