pub enum DurableStoreReclaimObject {
Authorization {
evidence_ref: ReclaimEvidenceRef,
evidence: ReclaimEvidence,
evidence_prepared: PreparedExactObject,
authorization_ref: ReclaimAuthorizationRef,
authorization: ReclaimAuthorization,
authorization_prepared: PreparedExactObject,
},
Receipt {
receipt_ref: ReclaimReceiptRef,
receipt: ReclaimReceipt,
receipt_prepared: PreparedExactObject,
},
}Variants§
Authorization
Fields
§
evidence_ref: ReclaimEvidenceRef§
evidence: ReclaimEvidence§
evidence_prepared: PreparedExactObjectReceipt
Implementations§
Source§impl DurableStoreReclaimObject
impl DurableStoreReclaimObject
pub fn validate(&self) -> Result<(), StoreReclaimJournalError>
pub fn commit_names_object( &self, candidate: &PreparedStoreOperationCommit, ) -> bool
pub fn remote_objects( &self, candidate: &PreparedStoreOperationCommit, ) -> Result<Vec<ClosedRemoteObject>, StoreReclaimJournalError>
Trait Implementations§
Source§impl Clone for DurableStoreReclaimObject
impl Clone for DurableStoreReclaimObject
Source§fn clone(&self) -> DurableStoreReclaimObject
fn clone(&self) -> DurableStoreReclaimObject
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 DurableStoreReclaimObject
impl Debug for DurableStoreReclaimObject
Source§impl<'de> Deserialize<'de> for DurableStoreReclaimObject
impl<'de> Deserialize<'de> for DurableStoreReclaimObject
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 DurableStoreReclaimObject
impl StructuralPartialEq for DurableStoreReclaimObject
Auto Trait Implementations§
impl !Freeze for DurableStoreReclaimObject
impl RefUnwindSafe for DurableStoreReclaimObject
impl Send for DurableStoreReclaimObject
impl Sync for DurableStoreReclaimObject
impl Unpin for DurableStoreReclaimObject
impl UnsafeUnpin for DurableStoreReclaimObject
impl UnwindSafe for DurableStoreReclaimObject
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.