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