pub struct ViewStateResult {
pub proof: Vec<String>,
pub values: Vec<StateItem>,
}Expand description
ViewStateResult
JSON schema
{
"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§const fn clone_from(&mut self, source: &Self)
const 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<ViewStateResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ViewStateResult, <__D as Deserializer<'de>>::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) -> ViewStateResult
fn from(value: &ViewStateResult) -> ViewStateResult
Converts to this type from the input type.
Source§impl Serialize for ViewStateResult
impl Serialize for ViewStateResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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