pub enum HistoryLedgerPreconditionV1 {
Absent,
Exact {
revision: HistoryLedgerRevision,
},
}Expand description
Exact CAS precondition for creating or replacing one history ledger.
Variants§
Implementations§
Source§impl HistoryLedgerPreconditionV1
impl HistoryLedgerPreconditionV1
pub fn validate(self) -> Result<(), RootHistoryContractError>
Trait Implementations§
Source§impl Clone for HistoryLedgerPreconditionV1
impl Clone for HistoryLedgerPreconditionV1
impl Copy for HistoryLedgerPreconditionV1
Source§impl Debug for HistoryLedgerPreconditionV1
impl Debug for HistoryLedgerPreconditionV1
Source§impl<'de> Deserialize<'de> for HistoryLedgerPreconditionV1
impl<'de> Deserialize<'de> for HistoryLedgerPreconditionV1
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 HistoryLedgerPreconditionV1
impl StructuralPartialEq for HistoryLedgerPreconditionV1
Auto Trait Implementations§
impl Freeze for HistoryLedgerPreconditionV1
impl RefUnwindSafe for HistoryLedgerPreconditionV1
impl Send for HistoryLedgerPreconditionV1
impl Sync for HistoryLedgerPreconditionV1
impl Unpin for HistoryLedgerPreconditionV1
impl UnsafeUnpin for HistoryLedgerPreconditionV1
impl UnwindSafe for HistoryLedgerPreconditionV1
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