pub struct MemoryPutBody {
pub context_id: String,
pub key: String,
pub value: String,
}Expand description
spec/vta/memory/put/0.1 request body. Upsert: re-putting the same
(contextId, key) replaces the stored value.
Fields§
§context_id: StringThe context the entry belongs to. The caller must have ACL access to it.
key: StringThe entry key (unique within the context).
value: StringThe value to store.
Trait Implementations§
Source§impl Clone for MemoryPutBody
impl Clone for MemoryPutBody
Source§fn clone(&self) -> MemoryPutBody
fn clone(&self) -> MemoryPutBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MemoryPutBody
impl Debug for MemoryPutBody
Source§impl<'de> Deserialize<'de> for MemoryPutBody
impl<'de> Deserialize<'de> for MemoryPutBody
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 MemoryPutBody
impl RefUnwindSafe for MemoryPutBody
impl Send for MemoryPutBody
impl Sync for MemoryPutBody
impl Unpin for MemoryPutBody
impl UnsafeUnpin for MemoryPutBody
impl UnwindSafe for MemoryPutBody
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