Struct gear_core::costs::RuntimeToken
source · pub struct RuntimeToken { /* private fields */ }Expand description
Token to consume gas amount.
Trait Implementations§
source§impl Clone for RuntimeToken
impl Clone for RuntimeToken
source§fn clone(&self) -> RuntimeToken
fn clone(&self) -> RuntimeToken
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 From<RuntimeToken> for u64
impl From<RuntimeToken> for u64
source§fn from(value: RuntimeToken) -> Self
fn from(value: RuntimeToken) -> Self
Converts to this type from the input type.
source§impl Token for RuntimeToken
impl Token for RuntimeToken
impl Copy for RuntimeToken
Auto Trait Implementations§
impl RefUnwindSafe for RuntimeToken
impl Send for RuntimeToken
impl Sync for RuntimeToken
impl Unpin for RuntimeToken
impl UnwindSafe for RuntimeToken
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