pub struct MemoryImportancePatch {
pub agent_id: String,
pub importance: f32,
}Expand description
Request body for PATCH /v1/memories/:id/importance (INT-1).
Fields§
§agent_id: String§importance: f32Trait Implementations§
Source§impl Clone for MemoryImportancePatch
impl Clone for MemoryImportancePatch
Source§fn clone(&self) -> MemoryImportancePatch
fn clone(&self) -> MemoryImportancePatch
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 MemoryImportancePatch
impl Debug for MemoryImportancePatch
Source§impl<'de> Deserialize<'de> for MemoryImportancePatch
impl<'de> Deserialize<'de> for MemoryImportancePatch
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 MemoryImportancePatch
impl RefUnwindSafe for MemoryImportancePatch
impl Send for MemoryImportancePatch
impl Sync for MemoryImportancePatch
impl Unpin for MemoryImportancePatch
impl UnsafeUnpin for MemoryImportancePatch
impl UnwindSafe for MemoryImportancePatch
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