pub struct MemoryWrite {
pub scope: String,
pub key: String,
pub value: Value,
pub summary: Option<String>,
pub metadata: Option<Value>,
}Expand description
Request to upsert a durable memory record.
Fields§
§scope: String§key: String§value: Value§summary: Option<String>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for MemoryWrite
impl Clone for MemoryWrite
Source§fn clone(&self) -> MemoryWrite
fn clone(&self) -> MemoryWrite
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 MemoryWrite
impl Debug for MemoryWrite
Source§impl<'de> Deserialize<'de> for MemoryWrite
impl<'de> Deserialize<'de> for MemoryWrite
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 PartialEq for MemoryWrite
impl PartialEq for MemoryWrite
Source§impl Serialize for MemoryWrite
impl Serialize for MemoryWrite
impl StructuralPartialEq for MemoryWrite
Auto Trait Implementations§
impl Freeze for MemoryWrite
impl RefUnwindSafe for MemoryWrite
impl Send for MemoryWrite
impl Sync for MemoryWrite
impl Unpin for MemoryWrite
impl UnsafeUnpin for MemoryWrite
impl UnwindSafe for MemoryWrite
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