pub struct EstimateGasLimitResponse {
pub chain: String,
pub gas_limit: String,
}Expand description
EstimateGasLimitResponse
JSON schema
{
"type": "object",
"required": [
"chain",
"gasLimit"
],
"properties": {
"chain": {
"description": "Chain symbol",
"examples": [
"ethereum"
],
"type": "string"
},
"gasLimit": {
"description": "Estimated gas limit (hex string)",
"examples": [
"0x5208"
],
"type": "string"
}
}
}Fields§
§chain: StringChain symbol
gas_limit: StringEstimated gas limit (hex string)
Implementations§
Source§impl EstimateGasLimitResponse
impl EstimateGasLimitResponse
pub fn builder() -> EstimateGasLimitResponse
Trait Implementations§
Source§impl Clone for EstimateGasLimitResponse
impl Clone for EstimateGasLimitResponse
Source§fn clone(&self) -> EstimateGasLimitResponse
fn clone(&self) -> EstimateGasLimitResponse
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 EstimateGasLimitResponse
impl Debug for EstimateGasLimitResponse
Source§impl<'de> Deserialize<'de> for EstimateGasLimitResponse
impl<'de> Deserialize<'de> for EstimateGasLimitResponse
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
Source§impl From<&EstimateGasLimitResponse> for EstimateGasLimitResponse
impl From<&EstimateGasLimitResponse> for EstimateGasLimitResponse
Source§fn from(value: &EstimateGasLimitResponse) -> Self
fn from(value: &EstimateGasLimitResponse) -> Self
Converts to this type from the input type.
Source§impl From<EstimateGasLimitResponse> for EstimateGasLimitResponse
impl From<EstimateGasLimitResponse> for EstimateGasLimitResponse
Source§fn from(value: EstimateGasLimitResponse) -> Self
fn from(value: EstimateGasLimitResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for EstimateGasLimitResponse
impl Serialize for EstimateGasLimitResponse
Source§impl TryFrom<EstimateGasLimitResponse> for EstimateGasLimitResponse
impl TryFrom<EstimateGasLimitResponse> for EstimateGasLimitResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: EstimateGasLimitResponse) -> Result<Self, ConversionError>
fn try_from(value: EstimateGasLimitResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for EstimateGasLimitResponse
impl RefUnwindSafe for EstimateGasLimitResponse
impl Send for EstimateGasLimitResponse
impl Sync for EstimateGasLimitResponse
impl Unpin for EstimateGasLimitResponse
impl UnwindSafe for EstimateGasLimitResponse
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