pub enum CandidateNonactivationProof {
MergeWinner {
winner_head: StoreDeviceHeadRef,
},
AuthorExclusion {
exclusion: StoreDeviceExclusionRef,
accepted_cut: BTreeMap<AuthorStreamId, StoreBatchCommitRef>,
activation_head: StoreDeviceHeadRef,
},
MergeMembershipGrantRevocation {
grant_id: MembershipGrantId,
membership: StoreMembershipStateRef,
activation_commit: StoreBatchCommitRef,
activation_head: StoreDeviceHeadRef,
},
MergeDependencyRetraction {
dependency: StoreBatchCommitRef,
dependency_nonactivation: Box<CandidateNonactivation>,
},
}Variants§
MergeWinner
Fields
§
winner_head: StoreDeviceHeadRefAuthorExclusion
Fields
§
exclusion: StoreDeviceExclusionRef§
accepted_cut: BTreeMap<AuthorStreamId, StoreBatchCommitRef>§
activation_head: StoreDeviceHeadRefMergeMembershipGrantRevocation
Fields
§
grant_id: MembershipGrantId§
membership: StoreMembershipStateRef§
activation_commit: StoreBatchCommitRef§
activation_head: StoreDeviceHeadRefMergeDependencyRetraction
Implementations§
Source§impl CandidateNonactivationProof
impl CandidateNonactivationProof
pub fn validate(&self) -> Result<(), RemoteObjectRecordError>
Trait Implementations§
Source§impl Clone for CandidateNonactivationProof
impl Clone for CandidateNonactivationProof
Source§fn clone(&self) -> CandidateNonactivationProof
fn clone(&self) -> CandidateNonactivationProof
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 CandidateNonactivationProof
impl Debug for CandidateNonactivationProof
Source§impl<'de> Deserialize<'de> for CandidateNonactivationProof
impl<'de> Deserialize<'de> for CandidateNonactivationProof
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
impl Eq for CandidateNonactivationProof
impl StructuralPartialEq for CandidateNonactivationProof
Auto Trait Implementations§
impl Freeze for CandidateNonactivationProof
impl RefUnwindSafe for CandidateNonactivationProof
impl Send for CandidateNonactivationProof
impl Sync for CandidateNonactivationProof
impl Unpin for CandidateNonactivationProof
impl UnsafeUnpin for CandidateNonactivationProof
impl UnwindSafe for CandidateNonactivationProof
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.