pub struct ViewStateResult {
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": [
"values"
],
"properties": {
"proof": {
"type": "array",
"items": {
"type": "string"
}
},
"values": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StateItem"
}
}
}
}
Fields§
§proof: Vec<String>
§values: Vec<StateItem>
Trait Implementations§
Source§impl Clone for ViewStateResult
impl Clone for ViewStateResult
Source§fn clone(&self) -> ViewStateResult
fn clone(&self) -> ViewStateResult
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 ViewStateResult
impl Debug for ViewStateResult
Source§impl<'de> Deserialize<'de> for ViewStateResult
impl<'de> Deserialize<'de> for ViewStateResult
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<&ViewStateResult> for ViewStateResult
impl From<&ViewStateResult> for ViewStateResult
Source§fn from(value: &ViewStateResult) -> Self
fn from(value: &ViewStateResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ViewStateResult
impl RefUnwindSafe for ViewStateResult
impl Send for ViewStateResult
impl Sync for ViewStateResult
impl Unpin for ViewStateResult
impl UnwindSafe for ViewStateResult
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