pub struct GasProfileEntry {
pub cost_category: String,
pub cost: String,
pub gas_used: Gas,
}Expand description
Gas profile entry for detailed gas accounting.
Fields§
§cost_category: StringCost category (ACTION_COST or WASM_HOST_COST).
cost: StringCost name.
gas_used: GasGas used for this cost.
Trait Implementations§
Source§impl Clone for GasProfileEntry
impl Clone for GasProfileEntry
Source§fn clone(&self) -> GasProfileEntry
fn clone(&self) -> GasProfileEntry
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 GasProfileEntry
impl Debug for GasProfileEntry
Source§impl<'de> Deserialize<'de> for GasProfileEntry
impl<'de> Deserialize<'de> for GasProfileEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GasProfileEntry
impl RefUnwindSafe for GasProfileEntry
impl Send for GasProfileEntry
impl Sync for GasProfileEntry
impl Unpin for GasProfileEntry
impl UnsafeUnpin for GasProfileEntry
impl UnwindSafe for GasProfileEntry
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