pub struct RestoredGasConsumer {
pub gas_consumed: u64,
pub gas_limit: u64,
}Expand description
Info extracted when parent gas consumer is restored.
Fields§
§gas_consumed: u64§gas_limit: u64Trait Implementations§
Source§impl Clone for RestoredGasConsumer
impl Clone for RestoredGasConsumer
Source§fn clone(&self) -> RestoredGasConsumer
fn clone(&self) -> RestoredGasConsumer
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 RestoredGasConsumer
impl Debug for RestoredGasConsumer
impl Copy for RestoredGasConsumer
Auto Trait Implementations§
impl Freeze for RestoredGasConsumer
impl RefUnwindSafe for RestoredGasConsumer
impl Send for RestoredGasConsumer
impl Sync for RestoredGasConsumer
impl Unpin for RestoredGasConsumer
impl UnwindSafe for RestoredGasConsumer
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