Enum reputation_module::icrc_7::types::TransactionType
source · pub enum TransactionType {
Mint {
tid: u128,
from: Account,
to: Account,
},
Burn {
tid: u128,
from: Account,
to: Account,
},
Transfer {
tid: u128,
from: Account,
to: Account,
},
Approval {
tid: u128,
from: Account,
to: Account,
},
}
Variants§
Trait Implementations§
source§impl CandidType for TransactionType
impl CandidType for TransactionType
source§impl Clone for TransactionType
impl Clone for TransactionType
source§fn clone(&self) -> TransactionType
fn clone(&self) -> TransactionType
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 TransactionType
impl Debug for TransactionType
source§impl<'de> Deserialize<'de> for TransactionType
impl<'de> Deserialize<'de> for TransactionType
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
Auto Trait Implementations§
impl RefUnwindSafe for TransactionType
impl Send for TransactionType
impl Sync for TransactionType
impl Unpin for TransactionType
impl UnwindSafe for TransactionType
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