Enum fuel_tx::TransactionRepr
source · pub enum TransactionRepr {
Script,
Create,
Mint,
}
Variants§
Trait Implementations§
source§impl Clone for TransactionRepr
impl Clone for TransactionRepr
source§fn clone(&self) -> TransactionRepr
fn clone(&self) -> TransactionRepr
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 TransactionRepr
impl Debug for TransactionRepr
source§impl From<&Transaction> for TransactionRepr
impl From<&Transaction> for TransactionRepr
source§fn from(tx: &Transaction) -> Self
fn from(tx: &Transaction) -> Self
Converts to this type from the input type.
source§impl Hash for TransactionRepr
impl Hash for TransactionRepr
source§impl PartialEq<TransactionRepr> for TransactionRepr
impl PartialEq<TransactionRepr> for TransactionRepr
source§fn eq(&self, other: &TransactionRepr) -> bool
fn eq(&self, other: &TransactionRepr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u64> for TransactionRepr
impl TryFrom<u64> for TransactionRepr
impl Eq for TransactionRepr
impl StructuralEq for TransactionRepr
impl StructuralPartialEq for TransactionRepr
Auto Trait Implementations§
impl RefUnwindSafe for TransactionRepr
impl Send for TransactionRepr
impl Sync for TransactionRepr
impl Unpin for TransactionRepr
impl UnwindSafe for TransactionRepr
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more