pub struct InvocationUsage { /* private fields */ }Expand description
Resources consumed by one successful invocation.
Implementations§
Source§impl InvocationUsage
impl InvocationUsage
pub const fn fuel_used(self) -> u64
pub const fn record_count(self) -> u32
pub const fn record_bytes(self) -> u64
Trait Implementations§
Source§impl Clone for InvocationUsage
impl Clone for InvocationUsage
Source§fn clone(&self) -> InvocationUsage
fn clone(&self) -> InvocationUsage
Returns a duplicate 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 InvocationUsage
impl Debug for InvocationUsage
Source§impl PartialEq for InvocationUsage
impl PartialEq for InvocationUsage
impl Copy for InvocationUsage
impl Eq for InvocationUsage
impl StructuralPartialEq for InvocationUsage
Auto Trait Implementations§
impl Freeze for InvocationUsage
impl RefUnwindSafe for InvocationUsage
impl Send for InvocationUsage
impl Sync for InvocationUsage
impl Unpin for InvocationUsage
impl UnsafeUnpin for InvocationUsage
impl UnwindSafe for InvocationUsage
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