pub enum TransactionCategory {
Send,
Receive,
Generate,
Immature,
Orphan,
}
Expand description
The category of a transaction.
Variants§
Send
Transactions sent.
Receive
Non-coinbase transactions received.
Generate
Coinbase transactions received with more than 100 confirmations.
Immature
Coinbase transactions received with 100 or fewer confirmations.
Orphan
Orphaned coinbase transactions received.
Implementations§
Source§impl TransactionCategory
impl TransactionCategory
Sourcepub fn into_model(self) -> TransactionCategory
pub fn into_model(self) -> TransactionCategory
Converts version specific type to a version nonspecific, more strongly typed type.
Trait Implementations§
Source§impl Clone for TransactionCategory
impl Clone for TransactionCategory
Source§fn clone(&self) -> TransactionCategory
fn clone(&self) -> TransactionCategory
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 TransactionCategory
impl Debug for TransactionCategory
Source§impl<'de> Deserialize<'de> for TransactionCategory
impl<'de> Deserialize<'de> for TransactionCategory
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 TransactionCategory
impl PartialEq for TransactionCategory
Source§impl Serialize for TransactionCategory
impl Serialize for TransactionCategory
impl Copy for TransactionCategory
impl Eq for TransactionCategory
impl StructuralPartialEq for TransactionCategory
Auto Trait Implementations§
impl Freeze for TransactionCategory
impl RefUnwindSafe for TransactionCategory
impl Send for TransactionCategory
impl Sync for TransactionCategory
impl Unpin for TransactionCategory
impl UnwindSafe for TransactionCategory
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