pub struct RpcGasPriceRequest {
pub block_id: Option<BlockId>,
}
Expand description
RpcGasPriceRequest
JSON schema
{
"title": "RpcGasPriceRequest",
"type": "object",
"properties": {
"block_id": {
"anyOf": [
{
"$ref": "#/components/schemas/BlockId"
},
{
"type": "null"
}
]
}
}
}
Fields§
§block_id: Option<BlockId>
Trait Implementations§
Source§impl Clone for RpcGasPriceRequest
impl Clone for RpcGasPriceRequest
Source§fn clone(&self) -> RpcGasPriceRequest
fn clone(&self) -> RpcGasPriceRequest
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 RpcGasPriceRequest
impl Debug for RpcGasPriceRequest
Source§impl Default for RpcGasPriceRequest
impl Default for RpcGasPriceRequest
Source§impl<'de> Deserialize<'de> for RpcGasPriceRequest
impl<'de> Deserialize<'de> for RpcGasPriceRequest
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<&RpcGasPriceRequest> for RpcGasPriceRequest
impl From<&RpcGasPriceRequest> for RpcGasPriceRequest
Source§fn from(value: &RpcGasPriceRequest) -> Self
fn from(value: &RpcGasPriceRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RpcGasPriceRequest
impl RefUnwindSafe for RpcGasPriceRequest
impl Send for RpcGasPriceRequest
impl Sync for RpcGasPriceRequest
impl Unpin for RpcGasPriceRequest
impl UnwindSafe for RpcGasPriceRequest
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