pub struct RpcViewGasKeyListResponse {
pub block_hash: CryptoHash,
pub block_height: u64,
pub keys: Vec<GasKeyInfoView>,
}Expand description
RpcViewGasKeyListResponse
JSON schema
{
"type": "object",
"required": [
"block_hash",
"block_height",
"keys"
],
"properties": {
"block_hash": {
"$ref": "#/components/schemas/CryptoHash"
},
"block_height": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"keys": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GasKeyInfoView"
}
}
}
}Fields§
§block_hash: CryptoHash§block_height: u64§keys: Vec<GasKeyInfoView>Trait Implementations§
Source§impl Clone for RpcViewGasKeyListResponse
impl Clone for RpcViewGasKeyListResponse
Source§fn clone(&self) -> RpcViewGasKeyListResponse
fn clone(&self) -> RpcViewGasKeyListResponse
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 RpcViewGasKeyListResponse
impl Debug for RpcViewGasKeyListResponse
Source§impl<'de> Deserialize<'de> for RpcViewGasKeyListResponse
impl<'de> Deserialize<'de> for RpcViewGasKeyListResponse
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<&RpcViewGasKeyListResponse> for RpcViewGasKeyListResponse
impl From<&RpcViewGasKeyListResponse> for RpcViewGasKeyListResponse
Source§fn from(value: &RpcViewGasKeyListResponse) -> Self
fn from(value: &RpcViewGasKeyListResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RpcViewGasKeyListResponse
impl RefUnwindSafe for RpcViewGasKeyListResponse
impl Send for RpcViewGasKeyListResponse
impl Sync for RpcViewGasKeyListResponse
impl Unpin for RpcViewGasKeyListResponse
impl UnsafeUnpin for RpcViewGasKeyListResponse
impl UnwindSafe for RpcViewGasKeyListResponse
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