pub struct Snapshot<D, G> {
pub document: D,
pub generation: G,
}Expand description
Original document identity and the exact immutable view generation.
A generation change invalidates earlier selection and reference evidence; it is a processing failure, never a malformed-property diagnostic.
Fields§
§document: DStable identity supplied by the source owner, not a document fingerprint.
generation: GGeneration under which all selected nodes and evidence were obtained.
Trait Implementations§
impl<D: Copy, G: Copy> Copy for Snapshot<D, G>
impl<D: Eq, G: Eq> Eq for Snapshot<D, G>
impl<D: PartialEq, G: PartialEq> StructuralPartialEq for Snapshot<D, G>
Auto Trait Implementations§
impl<D, G> Freeze for Snapshot<D, G>
impl<D, G> RefUnwindSafe for Snapshot<D, G>where
D: RefUnwindSafe,
G: RefUnwindSafe,
impl<D, G> Send for Snapshot<D, G>
impl<D, G> Sync for Snapshot<D, G>
impl<D, G> Unpin for Snapshot<D, G>
impl<D, G> UnsafeUnpin for Snapshot<D, G>where
D: UnsafeUnpin,
G: UnsafeUnpin,
impl<D, G> UnwindSafe for Snapshot<D, G>where
D: UnwindSafe,
G: 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