pub struct RetainedVerifiedMergeHistorySummary {
pub version: u32,
pub store_root_hash: ObjectHash,
pub causal_cut: BTreeMap<StoreCommitCoord, StoreBatchCommitRef>,
pub post_state: StoreDeviceStateRef,
pub membership_floor: MembershipCausalFloor,
pub registrations: BTreeMap<StoreDeviceId, ReferencedStoreDeviceRegistration>,
pub acknowledgements: BTreeMap<StoreDeviceId, RetainedAcknowledgementChain>,
pub membership_proofs: BTreeMap<StoreBatchCommitRef, RetainedMergeMembershipProof>,
pub announcement_frontier: BTreeMap<AuthorStreamId, RetainedAcceptedStoreAnnouncement>,
}Fields§
§version: u32§store_root_hash: ObjectHash§causal_cut: BTreeMap<StoreCommitCoord, StoreBatchCommitRef>§post_state: StoreDeviceStateRef§membership_floor: MembershipCausalFloor§registrations: BTreeMap<StoreDeviceId, ReferencedStoreDeviceRegistration>§acknowledgements: BTreeMap<StoreDeviceId, RetainedAcknowledgementChain>§membership_proofs: BTreeMap<StoreBatchCommitRef, RetainedMergeMembershipProof>§announcement_frontier: BTreeMap<AuthorStreamId, RetainedAcceptedStoreAnnouncement>Implementations§
Source§impl RetainedVerifiedMergeHistorySummary
impl RetainedVerifiedMergeHistorySummary
pub fn frontier( &self, ) -> Result<BTreeMap<AuthorStreamId, StoreBatchCommitRef>, StoreProtocolError>
pub fn validate_shape(&self) -> Result<(), StoreProtocolError>
pub fn validate_snapshot_baseline(&self) -> Result<(), StoreProtocolError>
Trait Implementations§
Source§impl Clone for RetainedVerifiedMergeHistorySummary
impl Clone for RetainedVerifiedMergeHistorySummary
Source§fn clone(&self) -> RetainedVerifiedMergeHistorySummary
fn clone(&self) -> RetainedVerifiedMergeHistorySummary
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<'de> Deserialize<'de> for RetainedVerifiedMergeHistorySummary
impl<'de> Deserialize<'de> for RetainedVerifiedMergeHistorySummary
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 RetainedVerifiedMergeHistorySummary
impl PartialEq for RetainedVerifiedMergeHistorySummary
Source§fn eq(&self, other: &RetainedVerifiedMergeHistorySummary) -> bool
fn eq(&self, other: &RetainedVerifiedMergeHistorySummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RetainedVerifiedMergeHistorySummary
impl StructuralPartialEq for RetainedVerifiedMergeHistorySummary
Auto Trait Implementations§
impl Freeze for RetainedVerifiedMergeHistorySummary
impl RefUnwindSafe for RetainedVerifiedMergeHistorySummary
impl Send for RetainedVerifiedMergeHistorySummary
impl Sync for RetainedVerifiedMergeHistorySummary
impl Unpin for RetainedVerifiedMergeHistorySummary
impl UnsafeUnpin for RetainedVerifiedMergeHistorySummary
impl UnwindSafe for RetainedVerifiedMergeHistorySummary
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.