pub struct CostGasUsed {
pub cost: String,
pub cost_category: String,
pub gas_used: String,
}Expand description
CostGasUsed
JSON schema
{
"type": "object",
"required": [
"cost",
"cost_category",
"gas_used"
],
"properties": {
"cost": {
"type": "string"
},
"cost_category": {
"type": "string"
},
"gas_used": {
"type": "string"
}
}
}Fields§
§cost: String§cost_category: String§gas_used: StringTrait Implementations§
Source§impl Clone for CostGasUsed
impl Clone for CostGasUsed
Source§fn clone(&self) -> CostGasUsed
fn clone(&self) -> CostGasUsed
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CostGasUsed
impl Debug for CostGasUsed
Source§impl<'de> Deserialize<'de> for CostGasUsed
impl<'de> Deserialize<'de> for CostGasUsed
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CostGasUsed, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CostGasUsed, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&CostGasUsed> for CostGasUsed
impl From<&CostGasUsed> for CostGasUsed
Source§fn from(value: &CostGasUsed) -> CostGasUsed
fn from(value: &CostGasUsed) -> CostGasUsed
Converts to this type from the input type.
Source§impl Serialize for CostGasUsed
impl Serialize for CostGasUsed
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CostGasUsed
impl RefUnwindSafe for CostGasUsed
impl Send for CostGasUsed
impl Sync for CostGasUsed
impl Unpin for CostGasUsed
impl UnwindSafe for CostGasUsed
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