Struct vls_protocol::msgs::Persist
source · pub struct Persist {
pub auth: Octets,
pub kvs: Vec<(Octets, u64, LargeOctets)>,
pub hmac: Octets,
}
Expand description
Store key-value pairs to persistent storage - potentially in the cloud.
This message may be sent by the signer in response to a normal API message,
before the actual API response. The front end should reply with PersistReply
Fields§
§auth: Octets
Authentication token from client (signer) to storage service
kvs: Vec<(Octets, u64, LargeOctets)>
§hmac: Octets
HMAC by client to authenticate the message
Trait Implementations§
source§impl<'de> Deserialize<'de> for Persist
impl<'de> Deserialize<'de> for Persist
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