Enum fuel_tx::CheckedTransaction
source · pub enum CheckedTransaction {
Script(Checked<Script>),
Create(Checked<Create>),
Mint(Checked<Mint>),
}
Expand description
The Enum version of Checked<Transaction>
allows getting the inner variant without losing
“checked” status.
It is possible to freely convert Checked<Transaction>
into CheckedTransaction
and vice
verse without the overhead.
Variants
Script(Checked<Script>)
Create(Checked<Create>)
Mint(Checked<Mint>)
Trait Implementations
sourceimpl Clone for CheckedTransaction
impl Clone for CheckedTransaction
sourcefn clone(&self) -> CheckedTransaction
fn clone(&self) -> CheckedTransaction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CheckedTransaction
impl Debug for CheckedTransaction
sourceimpl From<Checked<Create>> for CheckedTransaction
impl From<Checked<Create>> for CheckedTransaction
sourceimpl From<Checked<Mint>> for CheckedTransaction
impl From<Checked<Mint>> for CheckedTransaction
sourceimpl From<Checked<Script>> for CheckedTransaction
impl From<Checked<Script>> for CheckedTransaction
sourceimpl From<Checked<Transaction>> for CheckedTransaction
impl From<Checked<Transaction>> for CheckedTransaction
sourcefn from(checked: Checked<Transaction>) -> Self
fn from(checked: Checked<Transaction>) -> Self
Converts to this type from the input type.
sourceimpl From<CheckedTransaction> for Checked<Transaction>
impl From<CheckedTransaction> for Checked<Transaction>
sourcefn from(checked: CheckedTransaction) -> Self
fn from(checked: CheckedTransaction) -> Self
Converts to this type from the input type.
sourceimpl Hash for CheckedTransaction
impl Hash for CheckedTransaction
sourceimpl PartialEq<CheckedTransaction> for CheckedTransaction
impl PartialEq<CheckedTransaction> for CheckedTransaction
sourcefn eq(&self, other: &CheckedTransaction) -> bool
fn eq(&self, other: &CheckedTransaction) -> bool
impl Eq for CheckedTransaction
impl StructuralEq for CheckedTransaction
impl StructuralPartialEq for CheckedTransaction
Auto Trait Implementations
impl RefUnwindSafe for CheckedTransaction
impl Send for CheckedTransaction
impl Sync for CheckedTransaction
impl Unpin for CheckedTransaction
impl UnwindSafe for CheckedTransaction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more