pub struct CandidateNonactivation { /* private fields */ }Implementations§
Source§impl CandidateNonactivation
impl CandidateNonactivation
pub fn candidate(&self) -> &StoreBatchCommitDeletionTarget
pub fn proof(&self) -> &CandidateNonactivationProof
Sourcepub fn validate_durable_shape(
candidate: &StoreBatchCommitRef,
commit: &StoreBatchCommit,
proof: CandidateNonactivationProof,
) -> Result<(), RemoteObjectRecordError>
pub fn validate_durable_shape( candidate: &StoreBatchCommitRef, commit: &StoreBatchCommit, proof: CandidateNonactivationProof, ) -> Result<(), RemoteObjectRecordError>
Checks the shape of a receipt already admitted through
VerifiedCandidateNonactivation; it does not recreate the live observation.
pub fn from_durable_parts( candidate: &StoreBatchCommitRef, commit: &StoreBatchCommit, proof: CandidateNonactivationProof, ) -> Result<Self, RemoteObjectRecordError>
pub fn validate(&self) -> Result<(), RemoteObjectRecordError>
pub fn reference(&self) -> Result<StoreBatchCommitRef, RemoteObjectRecordError>
pub fn unverified_for_test( candidate: StoreBatchCommitDeletionTarget, proof: CandidateNonactivationProof, ) -> Self
pub fn proof_mut_for_test(&mut self) -> &mut CandidateNonactivationProof
Trait Implementations§
Source§impl Clone for CandidateNonactivation
impl Clone for CandidateNonactivation
Source§fn clone(&self) -> CandidateNonactivation
fn clone(&self) -> CandidateNonactivation
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 CandidateNonactivation
impl Debug for CandidateNonactivation
Source§impl<'de> Deserialize<'de> for CandidateNonactivation
impl<'de> Deserialize<'de> for CandidateNonactivation
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 CandidateNonactivation
impl PartialEq for CandidateNonactivation
Source§impl Serialize for CandidateNonactivation
impl Serialize for CandidateNonactivation
impl Eq for CandidateNonactivation
impl StructuralPartialEq for CandidateNonactivation
Auto Trait Implementations§
impl Freeze for CandidateNonactivation
impl RefUnwindSafe for CandidateNonactivation
impl Send for CandidateNonactivation
impl Sync for CandidateNonactivation
impl Unpin for CandidateNonactivation
impl UnsafeUnpin for CandidateNonactivation
impl UnwindSafe for CandidateNonactivation
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.