Struct fuel_vm::interpreter::InitialBalances
source · pub struct InitialBalances {
pub non_retryable: NonRetryableFreeBalances,
pub retryable: Option<RetryableAmount>,
}
Expand description
The initial balances of the transaction.
Fields§
§non_retryable: NonRetryableFreeBalances
§retryable: Option<RetryableAmount>
See RetryableAmount
.
Trait Implementations§
source§impl Clone for InitialBalances
impl Clone for InitialBalances
source§fn clone(&self) -> InitialBalances
fn clone(&self) -> InitialBalances
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 InitialBalances
impl Debug for InitialBalances
source§impl Default for InitialBalances
impl Default for InitialBalances
source§fn default() -> InitialBalances
fn default() -> InitialBalances
Returns the “default value” for a type. Read more
source§impl Hash for InitialBalances
impl Hash for InitialBalances
source§impl PartialEq<InitialBalances> for InitialBalances
impl PartialEq<InitialBalances> for InitialBalances
source§fn eq(&self, other: &InitialBalances) -> bool
fn eq(&self, other: &InitialBalances) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<InitialBalances> for RuntimeBalances
impl TryFrom<InitialBalances> for RuntimeBalances
§type Error = CheckError
type Error = CheckError
The type returned in the event of a conversion error.
source§fn try_from(initial_balances: InitialBalances) -> Result<Self, CheckError>
fn try_from(initial_balances: InitialBalances) -> Result<Self, CheckError>
Performs the conversion.
impl Eq for InitialBalances
impl StructuralEq for InitialBalances
impl StructuralPartialEq for InitialBalances
Auto Trait Implementations§
impl RefUnwindSafe for InitialBalances
impl Send for InitialBalances
impl Sync for InitialBalances
impl Unpin for InitialBalances
impl UnwindSafe for InitialBalances
Blanket Implementations§
source§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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