pub struct OperationalMemoryEntry {
pub id: String,
pub scope: MemoryScope,
pub text: String,
pub source_trace: Option<String>,
pub confidence: f64,
pub expires_at_ms: Option<u64>,
pub verifier_evidence: Vec<String>,
pub owner: Option<String>,
pub files: Vec<PathBuf>,
pub tags: Vec<String>,
}Fields§
§id: String§scope: MemoryScope§text: String§source_trace: Option<String>§confidence: f64§expires_at_ms: Option<u64>§verifier_evidence: Vec<String>§owner: Option<String>§files: Vec<PathBuf>Trait Implementations§
Source§impl Clone for OperationalMemoryEntry
impl Clone for OperationalMemoryEntry
Source§fn clone(&self) -> OperationalMemoryEntry
fn clone(&self) -> OperationalMemoryEntry
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 OperationalMemoryEntry
impl Debug for OperationalMemoryEntry
Source§impl<'de> Deserialize<'de> for OperationalMemoryEntry
impl<'de> Deserialize<'de> for OperationalMemoryEntry
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 OperationalMemoryEntry
impl PartialEq for OperationalMemoryEntry
Source§impl Serialize for OperationalMemoryEntry
impl Serialize for OperationalMemoryEntry
impl StructuralPartialEq for OperationalMemoryEntry
Auto Trait Implementations§
impl Freeze for OperationalMemoryEntry
impl RefUnwindSafe for OperationalMemoryEntry
impl Send for OperationalMemoryEntry
impl Sync for OperationalMemoryEntry
impl Unpin for OperationalMemoryEntry
impl UnsafeUnpin for OperationalMemoryEntry
impl UnwindSafe for OperationalMemoryEntry
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