pub struct TauriMemoryDraftCommand {Show 18 fields
pub config_path: PathBuf,
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: DesktopMetadataDto,
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§
§config_path: PathBuf§title: String§summary: String§memory_type: String§scope: MemoryScope§source_ref: String§project_id: Option<String>§user_id: Option<String>§sensitivity: Option<String>§metadata: DesktopMetadataDto§entities: Vec<String>§triggers: Vec<String>§supersedes: Option<String>§applies_to: Vec<String>§valid_until: Option<String>Trait Implementations§
Source§impl Clone for TauriMemoryDraftCommand
impl Clone for TauriMemoryDraftCommand
Source§fn clone(&self) -> TauriMemoryDraftCommand
fn clone(&self) -> TauriMemoryDraftCommand
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 moreSource§impl Debug for TauriMemoryDraftCommand
impl Debug for TauriMemoryDraftCommand
Source§impl<'de> Deserialize<'de> for TauriMemoryDraftCommand
impl<'de> Deserialize<'de> for TauriMemoryDraftCommand
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
Source§impl PartialEq for TauriMemoryDraftCommand
impl PartialEq for TauriMemoryDraftCommand
Source§fn eq(&self, other: &TauriMemoryDraftCommand) -> bool
fn eq(&self, other: &TauriMemoryDraftCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TauriMemoryDraftCommand
impl Serialize for TauriMemoryDraftCommand
impl Eq for TauriMemoryDraftCommand
impl StructuralPartialEq for TauriMemoryDraftCommand
Auto Trait Implementations§
impl Freeze for TauriMemoryDraftCommand
impl RefUnwindSafe for TauriMemoryDraftCommand
impl Send for TauriMemoryDraftCommand
impl Sync for TauriMemoryDraftCommand
impl Unpin for TauriMemoryDraftCommand
impl UnsafeUnpin for TauriMemoryDraftCommand
impl UnwindSafe for TauriMemoryDraftCommand
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.