pub enum TransactionCondition {
Block(u64),
Timestamp(u64),
}
Expand description
Represents condition on minimum block number or block timestamp.
Variants§
Trait Implementations§
Source§impl Clone for TransactionCondition
impl Clone for TransactionCondition
Source§fn clone(&self) -> TransactionCondition
fn clone(&self) -> TransactionCondition
Returns a copy 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 TransactionCondition
impl Debug for TransactionCondition
Source§impl<'de> Deserialize<'de> for TransactionCondition
impl<'de> Deserialize<'de> for TransactionCondition
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 Hash for TransactionCondition
impl Hash for TransactionCondition
Source§impl PartialEq for TransactionCondition
impl PartialEq for TransactionCondition
Source§impl Serialize for TransactionCondition
impl Serialize for TransactionCondition
impl Eq for TransactionCondition
impl StructuralPartialEq for TransactionCondition
Auto Trait Implementations§
impl Freeze for TransactionCondition
impl RefUnwindSafe for TransactionCondition
impl Send for TransactionCondition
impl Sync for TransactionCondition
impl Unpin for TransactionCondition
impl UnwindSafe for TransactionCondition
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