pub struct MemoryImportancePatchRequest {
pub agent_id: String,
pub importance: f32,
}Expand description
Request for PATCH /v1/memories/{id}/importance (INT-1 — memory_id in path)
Fields§
§agent_id: String§importance: f32Trait Implementations§
Source§impl Debug for MemoryImportancePatchRequest
impl Debug for MemoryImportancePatchRequest
Source§impl<'de> Deserialize<'de> for MemoryImportancePatchRequest
impl<'de> Deserialize<'de> for MemoryImportancePatchRequest
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 MemoryImportancePatchRequest
impl RefUnwindSafe for MemoryImportancePatchRequest
impl Send for MemoryImportancePatchRequest
impl Sync for MemoryImportancePatchRequest
impl Unpin for MemoryImportancePatchRequest
impl UnsafeUnpin for MemoryImportancePatchRequest
impl UnwindSafe for MemoryImportancePatchRequest
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