pub struct SnapshotMetaBody {
pub store_root_hash: ObjectHash,
pub author_registration: StoreDeviceRegistrationRef,
pub generation: u64,
pub predecessor: Option<StoreSnapshotRef>,
pub image: SnapshotImageRef,
pub membership_rollup: MembershipRollupRef,
pub coverage: CommitFrontier,
pub state: StoreSnapshotState,
pub history_summary: RetainedVerifiedMergeHistorySummary,
pub schema_version: u32,
pub created_at: String,
pub successor: SnapshotSuccessorLink,
}Fields§
§store_root_hash: ObjectHash§generation: u64§predecessor: Option<StoreSnapshotRef>§image: SnapshotImageRef§membership_rollup: MembershipRollupRefThe membership objects a reader needs to reach state.membership,
published beside the image. A joining device opens the Store keyring out
of the membership chain, so it cannot read anything the keyring
protects — this reference is what lets it take the chain in one read
instead of two round trips per membership change.
coverage: CommitFrontier§state: StoreSnapshotState§history_summary: RetainedVerifiedMergeHistorySummary§schema_version: u32§created_at: String§successor: SnapshotSuccessorLinkTrait Implementations§
Source§impl Clone for SnapshotMetaBody
impl Clone for SnapshotMetaBody
Source§fn clone(&self) -> SnapshotMetaBody
fn clone(&self) -> SnapshotMetaBody
Returns a duplicate of the value. Read more
1.0.0 · 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 SnapshotMetaBody
impl Debug for SnapshotMetaBody
Source§impl<'de> Deserialize<'de> for SnapshotMetaBody
impl<'de> Deserialize<'de> for SnapshotMetaBody
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 SnapshotMetaBody
impl PartialEq for SnapshotMetaBody
Source§impl Serialize for SnapshotMetaBody
impl Serialize for SnapshotMetaBody
Source§impl SignedBody for SnapshotMetaBody
impl SignedBody for SnapshotMetaBody
impl Eq for SnapshotMetaBody
impl StructuralPartialEq for SnapshotMetaBody
Auto Trait Implementations§
impl Freeze for SnapshotMetaBody
impl RefUnwindSafe for SnapshotMetaBody
impl Send for SnapshotMetaBody
impl Sync for SnapshotMetaBody
impl Unpin for SnapshotMetaBody
impl UnsafeUnpin for SnapshotMetaBody
impl UnwindSafe for SnapshotMetaBody
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.