pub struct RetainedVerifiedActivatedAck {
pub acknowledgement: (StoreAckRef, StoreAck),
pub activating_commit: StoreBatchCommitRef,
pub predecessors: Vec<(StoreAckRef, StoreAck)>,
}Expand description
The acknowledgement one commit activated, together with any uploaded predecessors whose activation candidates this operation retired. Previously activated acknowledgements remain owned by their own retained commits.
Fields§
§acknowledgement: (StoreAckRef, StoreAck)§activating_commit: StoreBatchCommitRef§predecessors: Vec<(StoreAckRef, StoreAck)>Implementations§
Source§impl RetainedVerifiedActivatedAck
impl RetainedVerifiedActivatedAck
pub fn acknowledgement(&self) -> &(StoreAckRef, StoreAck)
pub fn proof_objects(&self) -> impl Iterator<Item = &(StoreAckRef, StoreAck)>
pub fn validate_predecessors(&self) -> Result<(), StoreProtocolError>
Trait Implementations§
Source§impl Clone for RetainedVerifiedActivatedAck
impl Clone for RetainedVerifiedActivatedAck
Source§fn clone(&self) -> RetainedVerifiedActivatedAck
fn clone(&self) -> RetainedVerifiedActivatedAck
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 RetainedVerifiedActivatedAck
impl Debug for RetainedVerifiedActivatedAck
Source§impl<'de> Deserialize<'de> for RetainedVerifiedActivatedAck
impl<'de> Deserialize<'de> for RetainedVerifiedActivatedAck
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 RetainedVerifiedActivatedAck
impl PartialEq for RetainedVerifiedActivatedAck
Source§fn eq(&self, other: &RetainedVerifiedActivatedAck) -> bool
fn eq(&self, other: &RetainedVerifiedActivatedAck) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RetainedVerifiedActivatedAck
impl StructuralPartialEq for RetainedVerifiedActivatedAck
Auto Trait Implementations§
impl !Freeze for RetainedVerifiedActivatedAck
impl RefUnwindSafe for RetainedVerifiedActivatedAck
impl Send for RetainedVerifiedActivatedAck
impl Sync for RetainedVerifiedActivatedAck
impl Unpin for RetainedVerifiedActivatedAck
impl UnsafeUnpin for RetainedVerifiedActivatedAck
impl UnwindSafe for RetainedVerifiedActivatedAck
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.