Enum fuel_tx::OutputRepr
source · [−]pub enum OutputRepr {
Coin,
Contract,
Message,
Change,
Variable,
ContractCreated,
}
Variants
Coin
Contract
Message
Change
Variable
ContractCreated
Implementations
sourceimpl OutputRepr
impl OutputRepr
pub const fn to_offset(&self) -> Option<usize>
pub const fn asset_id_offset(&self) -> Option<usize>
pub const fn contract_balance_root_offset(&self) -> Option<usize>
pub const fn contract_state_root_offset(&self) -> Option<usize>
pub const fn contract_created_state_root_offset(&self) -> Option<usize>
pub const fn contract_id_offset(&self) -> Option<usize>
pub const fn recipient_offset(&self) -> Option<usize>
pub const fn from_output(output: &Output) -> Self
Trait Implementations
sourceimpl Clone for OutputRepr
impl Clone for OutputRepr
sourcefn clone(&self) -> OutputRepr
fn clone(&self) -> OutputRepr
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 more
sourceimpl Debug for OutputRepr
impl Debug for OutputRepr
sourceimpl From<&Output> for OutputRepr
impl From<&Output> for OutputRepr
sourceimpl From<&mut Output> for OutputRepr
impl From<&mut Output> for OutputRepr
sourceimpl Hash for OutputRepr
impl Hash for OutputRepr
sourceimpl PartialEq<OutputRepr> for OutputRepr
impl PartialEq<OutputRepr> for OutputRepr
sourceimpl TryFrom<u64> for OutputRepr
impl TryFrom<u64> for OutputRepr
impl Eq for OutputRepr
impl StructuralEq for OutputRepr
impl StructuralPartialEq for OutputRepr
Auto Trait Implementations
impl RefUnwindSafe for OutputRepr
impl Send for OutputRepr
impl Sync for OutputRepr
impl Unpin for OutputRepr
impl UnwindSafe for OutputRepr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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