pub enum TransactionInputType {
Account([u8; 32]),
Utxo([u8; 32], u8),
}
Variants§
Trait Implementations§
source§impl Clone for TransactionInputType
impl Clone for TransactionInputType
source§fn clone(&self) -> TransactionInputType
fn clone(&self) -> TransactionInputType
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 TransactionInputType
impl Debug for TransactionInputType
source§impl<'de> Deserialize<'de> for TransactionInputType
impl<'de> Deserialize<'de> for TransactionInputType
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<TransactionInputType> for TransactionInputType
impl PartialEq<TransactionInputType> for TransactionInputType
source§fn eq(&self, other: &TransactionInputType) -> bool
fn eq(&self, other: &TransactionInputType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TransactionInputType
impl Serialize for TransactionInputType
impl Eq for TransactionInputType
impl StructuralEq for TransactionInputType
impl StructuralPartialEq for TransactionInputType
Auto Trait Implementations§
impl RefUnwindSafe for TransactionInputType
impl Send for TransactionInputType
impl Sync for TransactionInputType
impl Unpin for TransactionInputType
impl UnwindSafe for TransactionInputType
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