pub struct ProposeMemoryRequest {Show 17 fields
pub title: String,
pub summary: String,
pub memory_type: String,
pub scope: MemoryScope,
pub source_ref: String,
pub project_id: Option<String>,
pub user_id: Option<String>,
pub sensitivity: Option<String>,
pub metadata: TransitionMetadata,
pub entities: Vec<String>,
pub tags: Vec<String>,
pub triggers: Vec<String>,
pub related_files: Vec<String>,
pub related_records: Vec<String>,
pub supersedes: Option<String>,
pub applies_to: Vec<String>,
pub valid_until: Option<String>,
}Fields§
§title: String§summary: String§memory_type: String§scope: MemoryScope§source_ref: String§project_id: Option<String>§user_id: Option<String>§sensitivity: Option<String>§metadata: TransitionMetadata§entities: Vec<String>§triggers: Vec<String>§supersedes: Option<String>§applies_to: Vec<String>§valid_until: Option<String>Trait Implementations§
Source§impl Clone for ProposeMemoryRequest
impl Clone for ProposeMemoryRequest
Source§fn clone(&self) -> ProposeMemoryRequest
fn clone(&self) -> ProposeMemoryRequest
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 ProposeMemoryRequest
impl RefUnwindSafe for ProposeMemoryRequest
impl Send for ProposeMemoryRequest
impl Sync for ProposeMemoryRequest
impl Unpin for ProposeMemoryRequest
impl UnsafeUnpin for ProposeMemoryRequest
impl UnwindSafe for ProposeMemoryRequest
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