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