pub enum RpcViewGasKeyListRequest {
Variant0 {
account_id: AccountId,
block_id: BlockId,
},
Variant1 {
account_id: AccountId,
finality: Finality,
},
Variant2 {
account_id: AccountId,
sync_checkpoint: SyncCheckpoint,
},
}Expand description
RpcViewGasKeyListRequest
JSON schema
{
"title": "RpcViewGasKeyListRequest",
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"block_id"
],
"properties": {
"block_id": {
"$ref": "#/components/schemas/BlockId"
}
}
},
{
"type": "object",
"required": [
"finality"
],
"properties": {
"finality": {
"$ref": "#/components/schemas/Finality"
}
}
},
{
"type": "object",
"required": [
"sync_checkpoint"
],
"properties": {
"sync_checkpoint": {
"$ref": "#/components/schemas/SyncCheckpoint"
}
}
}
],
"required": [
"account_id"
],
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
}
}
}Variants§
Trait Implementations§
Source§impl Clone for RpcViewGasKeyListRequest
impl Clone for RpcViewGasKeyListRequest
Source§fn clone(&self) -> RpcViewGasKeyListRequest
fn clone(&self) -> RpcViewGasKeyListRequest
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 RpcViewGasKeyListRequest
impl Debug for RpcViewGasKeyListRequest
Source§impl<'de> Deserialize<'de> for RpcViewGasKeyListRequest
impl<'de> Deserialize<'de> for RpcViewGasKeyListRequest
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<&RpcViewGasKeyListRequest> for RpcViewGasKeyListRequest
impl From<&RpcViewGasKeyListRequest> for RpcViewGasKeyListRequest
Source§fn from(value: &RpcViewGasKeyListRequest) -> Self
fn from(value: &RpcViewGasKeyListRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RpcViewGasKeyListRequest
impl RefUnwindSafe for RpcViewGasKeyListRequest
impl Send for RpcViewGasKeyListRequest
impl Sync for RpcViewGasKeyListRequest
impl Unpin for RpcViewGasKeyListRequest
impl UnsafeUnpin for RpcViewGasKeyListRequest
impl UnwindSafe for RpcViewGasKeyListRequest
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