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