pub struct StoreAckBody {
pub store_root_hash: ObjectHash,
pub registration: StoreDeviceRegistrationRef,
pub sequence: u64,
pub store_cut: StoreHistoryCut,
pub device_state: StoreDeviceStateRef,
pub snapshot: Option<StoreSnapshotLocator>,
pub exclusions: StoreAckExclusionState,
pub last_sync: String,
pub successor: SuccessorLink,
}Fields§
§store_root_hash: ObjectHash§registration: StoreDeviceRegistrationRef§sequence: u64§store_cut: StoreHistoryCut§device_state: StoreDeviceStateRef§snapshot: Option<StoreSnapshotLocator>§exclusions: StoreAckExclusionState§last_sync: String§successor: SuccessorLinkImplementations§
Source§impl StoreAckBody
impl StoreAckBody
Sourcepub fn assertion(&self) -> StoreAckAssertion
pub fn assertion(&self) -> StoreAckAssertion
The assertion this body makes.
Destructured exhaustively on purpose: a field added to the body has to be classified here as asserted or as bookkeeping, or this stops compiling. A silently unclassified field would be one an acknowledgement could change without anything noticing it had changed.
Trait Implementations§
Source§impl Clone for StoreAckBody
impl Clone for StoreAckBody
Source§fn clone(&self) -> StoreAckBody
fn clone(&self) -> StoreAckBody
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 StoreAckBody
impl Debug for StoreAckBody
Source§impl<'de> Deserialize<'de> for StoreAckBody
impl<'de> Deserialize<'de> for StoreAckBody
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 StoreAckBody
impl PartialEq for StoreAckBody
Source§impl Serialize for StoreAckBody
impl Serialize for StoreAckBody
Source§impl SignedBody for StoreAckBody
impl SignedBody for StoreAckBody
impl Eq for StoreAckBody
impl StructuralPartialEq for StoreAckBody
Auto Trait Implementations§
impl Freeze for StoreAckBody
impl RefUnwindSafe for StoreAckBody
impl Send for StoreAckBody
impl Sync for StoreAckBody
impl Unpin for StoreAckBody
impl UnsafeUnpin for StoreAckBody
impl UnwindSafe for StoreAckBody
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.