pub struct EncodeUpdateRequest {
pub header: Option<CMPHeader>,
pub record_id: Uuid,
pub content: Option<MemoryContent>,
pub emotion: Option<EmotionVector>,
pub metadata: Option<Value>,
}Expand description
encode.update request (CMP Spec §3.3) — Update an existing record.
Fields§
§header: Option<CMPHeader>§record_id: Uuid§content: Option<MemoryContent>§emotion: Option<EmotionVector>§metadata: Option<Value>Trait Implementations§
Source§impl Clone for EncodeUpdateRequest
impl Clone for EncodeUpdateRequest
Source§fn clone(&self) -> EncodeUpdateRequest
fn clone(&self) -> EncodeUpdateRequest
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 EncodeUpdateRequest
impl Debug for EncodeUpdateRequest
Source§impl<'de> Deserialize<'de> for EncodeUpdateRequest
impl<'de> Deserialize<'de> for EncodeUpdateRequest
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 EncodeUpdateRequest
impl RefUnwindSafe for EncodeUpdateRequest
impl Send for EncodeUpdateRequest
impl Sync for EncodeUpdateRequest
impl Unpin for EncodeUpdateRequest
impl UnsafeUnpin for EncodeUpdateRequest
impl UnwindSafe for EncodeUpdateRequest
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