pub enum TransactionTypeDb {
BlobTransaction,
ProofTransaction,
RegisterContractTransaction,
Stake,
}Variants§
Implementations§
Source§impl TransactionTypeDb
impl TransactionTypeDb
pub fn from(transaction: &Transaction) -> Self
Trait Implementations§
Source§impl Clone for TransactionTypeDb
impl Clone for TransactionTypeDb
Source§fn clone(&self) -> TransactionTypeDb
fn clone(&self) -> TransactionTypeDb
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 ComposeSchema for TransactionTypeDb
impl ComposeSchema for TransactionTypeDb
Source§impl Debug for TransactionTypeDb
impl Debug for TransactionTypeDb
Source§impl<'de> Deserialize<'de> for TransactionTypeDb
impl<'de> Deserialize<'de> for TransactionTypeDb
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 From<TransactionKind> for TransactionTypeDb
impl From<TransactionKind> for TransactionTypeDb
Source§fn from(value: TransactionKind) -> Self
fn from(value: TransactionKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TransactionTypeDb
impl PartialEq for TransactionTypeDb
Source§impl Serialize for TransactionTypeDb
impl Serialize for TransactionTypeDb
Source§impl ToSchema for TransactionTypeDb
impl ToSchema for TransactionTypeDb
impl Eq for TransactionTypeDb
impl StructuralPartialEq for TransactionTypeDb
Auto Trait Implementations§
impl Freeze for TransactionTypeDb
impl RefUnwindSafe for TransactionTypeDb
impl Send for TransactionTypeDb
impl Sync for TransactionTypeDb
impl Unpin for TransactionTypeDb
impl UnsafeUnpin for TransactionTypeDb
impl UnwindSafe for TransactionTypeDb
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.