pub struct TargetSnapshot {
pub entity_registry_uid: Uid,
pub entity_type: String,
pub entity_id: String,
pub version: u32,
pub fields: BTreeMap<String, StoredValue>,
pub deleted: bool,
pub missing: bool,
}Expand description
Snapshot of one entity exactly as it was when the log was written.
Fields§
§entity_registry_uid: Uid§entity_type: String§entity_id: String§version: u32§fields: BTreeMap<String, StoredValue>As-recorded field values: a later rename does not alter what shows here.
deleted: bool§missing: boolThe referenced registry version could not be resolved (e.g. the registry lost data the log outlived). The log itself is still valid — one unresolvable entity must not make whole query results unreadable — so it renders with this placeholder instead of failing.
Trait Implementations§
Source§impl Clone for TargetSnapshot
impl Clone for TargetSnapshot
Source§fn clone(&self) -> TargetSnapshot
fn clone(&self) -> TargetSnapshot
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 TargetSnapshot
impl Debug for TargetSnapshot
Source§impl<'de> Deserialize<'de> for TargetSnapshot
impl<'de> Deserialize<'de> for TargetSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TargetSnapshot
impl RefUnwindSafe for TargetSnapshot
impl Send for TargetSnapshot
impl Sync for TargetSnapshot
impl Unpin for TargetSnapshot
impl UnsafeUnpin for TargetSnapshot
impl UnwindSafe for TargetSnapshot
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