pub struct AddMemoryOptions {
pub kind: MemoryKind,
pub scope: String,
pub content: String,
pub priority: Option<i64>,
pub urgency: Option<i64>,
pub confidence: Option<f64>,
pub source_refs: Vec<String>,
}Fields§
§kind: MemoryKind§scope: String§content: String§priority: Option<i64>§urgency: Option<i64>§confidence: Option<f64>§source_refs: Vec<String>Trait Implementations§
Source§impl Clone for AddMemoryOptions
impl Clone for AddMemoryOptions
Source§fn clone(&self) -> AddMemoryOptions
fn clone(&self) -> AddMemoryOptions
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 moreAuto Trait Implementations§
impl Freeze for AddMemoryOptions
impl RefUnwindSafe for AddMemoryOptions
impl Send for AddMemoryOptions
impl Sync for AddMemoryOptions
impl Unpin for AddMemoryOptions
impl UnsafeUnpin for AddMemoryOptions
impl UnwindSafe for AddMemoryOptions
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