pub struct StagedGeneration {
pub generation: u64,
pub parent_generation: u64,
pub snapshot: DeclarationSnapshot,
pub mutations: Vec<GenerationMutation>,
}Expand description
StagedGeneration
Generation prepared for atomic commit.
Fields§
§generation: u64Generation number to commit.
parent_generation: u64Parent generation that remains authoritative until commit succeeds.
snapshot: DeclarationSnapshotSnapshot being committed.
mutations: Vec<GenerationMutation>Staged mutations included in this generation.
Trait Implementations§
Source§impl Clone for StagedGeneration
impl Clone for StagedGeneration
Source§fn clone(&self) -> StagedGeneration
fn clone(&self) -> StagedGeneration
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 StagedGeneration
impl Debug for StagedGeneration
Source§impl<'de> Deserialize<'de> for StagedGeneration
impl<'de> Deserialize<'de> for StagedGeneration
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
Source§impl PartialEq for StagedGeneration
impl PartialEq for StagedGeneration
Source§fn eq(&self, other: &StagedGeneration) -> bool
fn eq(&self, other: &StagedGeneration) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StagedGeneration
impl Serialize for StagedGeneration
impl Eq for StagedGeneration
impl StructuralPartialEq for StagedGeneration
Auto Trait Implementations§
impl Freeze for StagedGeneration
impl RefUnwindSafe for StagedGeneration
impl Send for StagedGeneration
impl Sync for StagedGeneration
impl Unpin for StagedGeneration
impl UnsafeUnpin for StagedGeneration
impl UnwindSafe for StagedGeneration
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