Enum fuel_tx::OutputRepr
source · pub enum OutputRepr {
Coin,
Contract,
Message,
Change,
Variable,
ContractCreated,
}
Variants§
Implementations§
source§impl 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§
source§impl Clone for OutputRepr
impl Clone for OutputRepr
source§fn clone(&self) -> OutputRepr
fn clone(&self) -> OutputRepr
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 OutputRepr
impl Debug for OutputRepr
source§impl From<&Output> for OutputRepr
impl From<&Output> for OutputRepr
source§impl From<&mut Output> for OutputRepr
impl From<&mut Output> for OutputRepr
source§impl Hash for OutputRepr
impl Hash for OutputRepr
source§impl PartialEq<OutputRepr> for OutputRepr
impl PartialEq<OutputRepr> for OutputRepr
source§fn eq(&self, other: &OutputRepr) -> bool
fn eq(&self, other: &OutputRepr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl 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§
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