pub struct StateItem {
pub key: StoreKey,
pub value: StoreValue,
}
Expand description
Item of the state, key and value are serialized in base64 and proof for inclusion of given state item.
JSON schema
{
"description": "Item of the state, key and value are serialized in base64 and proof for inclusion of given state item.",
"type": "object",
"required": [
"key",
"value"
],
"properties": {
"key": {
"$ref": "#/components/schemas/StoreKey"
},
"value": {
"$ref": "#/components/schemas/StoreValue"
}
}
}
Fields§
§key: StoreKey
§value: StoreValue
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StateItem
impl<'de> Deserialize<'de> for StateItem
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
Auto Trait Implementations§
impl Freeze for StateItem
impl RefUnwindSafe for StateItem
impl Send for StateItem
impl Sync for StateItem
impl Unpin for StateItem
impl UnwindSafe for StateItem
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