#[non_exhaustive]pub struct SnapshotMemoryRow {Show 59 fields
pub memory_id: String,
pub agent: String,
pub user_id: String,
pub session_id: String,
pub run_id: String,
pub memory_key: String,
pub memory_type: String,
pub value: String,
pub confidence: f64,
pub source_trace: String,
pub pinned: bool,
pub expires_at: Option<Option<String>>,
pub entities: Option<Vec<String>>,
pub version: Option<Integer>,
pub content_sha256: Option<String>,
pub actor: Option<String>,
pub source_class: Option<String>,
pub source_resource_id: Option<String>,
pub verified_by: Option<String>,
pub verified_at: Option<Option<String>>,
pub verified_sha256: Option<String>,
pub grounding: Option<String>,
pub evidence: Option<String>,
pub tags: Option<Vec<String>>,
pub valid_at: Option<Option<String>>,
pub valid_to: Option<Option<String>>,
pub created_at: Option<Option<String>>,
pub updated_at: Option<Option<String>>,
pub value_json: Option<String>,
pub status: Option<SnapshotMemoryRowStatus>,
pub requires_review: Option<Option<bool>>,
pub conflict_with: Option<Vec<String>>,
pub duplicate_of: Option<String>,
pub evidence_count: Option<Integer>,
pub recall_count: Option<Integer>,
pub last_recalled_at: Option<Option<String>>,
pub cross_promoted_from_memory_id: Option<String>,
pub cross_promoted_from_namespace: Option<String>,
pub superseded_by: Option<String>,
pub rejection_reason: Option<String>,
pub temporal_anchor: Option<Option<String>>,
pub temporal_confidence: Option<f64>,
pub invalid_at: Option<Option<String>>,
pub char_limit: Option<Option<Integer>>,
pub reinforcement_count: Option<Integer>,
pub last_reinforced_at: Option<Option<String>>,
pub mentioned_at: Option<Option<String>>,
pub sensitivity: Option<String>,
pub redacted_at: Option<Option<String>>,
pub redaction_reason: Option<String>,
pub lock_mode: Option<String>,
pub lock_reason: Option<String>,
pub lock_until: Option<Option<String>>,
pub locked_by: Option<String>,
pub locked_at: Option<Option<String>>,
pub on_expire: Option<String>,
pub expire_reason: Option<String>,
pub files: Option<Vec<String>>,
pub concepts: Option<Vec<String>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.memory_id: String§agent: String§user_id: String§session_id: String§run_id: String§memory_key: String§memory_type: String§value: String§confidence: f64§source_trace: String§pinned: bool§expires_at: Option<Option<String>>§entities: Option<Vec<String>>§version: Option<Integer>§content_sha256: Option<String>§actor: Option<String>§source_class: Option<String>§source_resource_id: Option<String>§verified_by: Option<String>§verified_at: Option<Option<String>>§verified_sha256: Option<String>§grounding: Option<String>§evidence: Option<String>§valid_at: Option<Option<String>>§valid_to: Option<Option<String>>§created_at: Option<Option<String>>§updated_at: Option<Option<String>>§value_json: Option<String>§status: Option<SnapshotMemoryRowStatus>§requires_review: Option<Option<bool>>§conflict_with: Option<Vec<String>>§duplicate_of: Option<String>§evidence_count: Option<Integer>§recall_count: Option<Integer>§last_recalled_at: Option<Option<String>>§cross_promoted_from_memory_id: Option<String>§cross_promoted_from_namespace: Option<String>§superseded_by: Option<String>§rejection_reason: Option<String>§temporal_anchor: Option<Option<String>>§temporal_confidence: Option<f64>§invalid_at: Option<Option<String>>§char_limit: Option<Option<Integer>>§reinforcement_count: Option<Integer>§last_reinforced_at: Option<Option<String>>§mentioned_at: Option<Option<String>>§sensitivity: Option<String>§redacted_at: Option<Option<String>>§redaction_reason: Option<String>§lock_mode: Option<String>§lock_reason: Option<String>§lock_until: Option<Option<String>>§locked_by: Option<String>§locked_at: Option<Option<String>>§on_expire: Option<String>§expire_reason: Option<String>§files: Option<Vec<String>>§concepts: Option<Vec<String>>Implementations§
Source§impl SnapshotMemoryRow
impl SnapshotMemoryRow
pub fn new(required: SnapshotMemoryRowRequired) -> Self
pub fn expires_at(self, expires_at: impl Into<String>) -> Self
pub fn expires_at_null(self) -> Self
pub fn entities( self, entities: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn version(self, version: impl Into<Integer>) -> Self
pub fn content_sha256(self, content_sha256: impl Into<String>) -> Self
pub fn actor(self, actor: impl Into<String>) -> Self
pub fn source_class(self, source_class: impl Into<String>) -> Self
pub fn source_resource_id(self, source_resource_id: impl Into<String>) -> Self
pub fn verified_by(self, verified_by: impl Into<String>) -> Self
pub fn verified_at(self, verified_at: impl Into<String>) -> Self
pub fn verified_at_null(self) -> Self
pub fn verified_sha256(self, verified_sha256: impl Into<String>) -> Self
pub fn grounding(self, grounding: impl Into<String>) -> Self
pub fn evidence(self, evidence: impl Into<String>) -> Self
pub fn valid_at(self, valid_at: impl Into<String>) -> Self
pub fn valid_at_null(self) -> Self
pub fn valid_to(self, valid_to: impl Into<String>) -> Self
pub fn valid_to_null(self) -> Self
pub fn created_at(self, created_at: impl Into<String>) -> Self
pub fn created_at_null(self) -> Self
pub fn updated_at(self, updated_at: impl Into<String>) -> Self
pub fn updated_at_null(self) -> Self
pub fn value_json(self, value_json: impl Into<String>) -> Self
pub fn status(self, status: SnapshotMemoryRowStatus) -> Self
pub fn requires_review(self, requires_review: bool) -> Self
pub fn requires_review_null(self) -> Self
pub fn conflict_with( self, conflict_with: impl IntoIterator<Item = impl Into<String>>, ) -> Self
pub fn duplicate_of(self, duplicate_of: impl Into<String>) -> Self
pub fn evidence_count(self, evidence_count: impl Into<Integer>) -> Self
pub fn recall_count(self, recall_count: impl Into<Integer>) -> Self
pub fn last_recalled_at(self, last_recalled_at: impl Into<String>) -> Self
pub fn last_recalled_at_null(self) -> Self
pub fn cross_promoted_from_memory_id( self, cross_promoted_from_memory_id: impl Into<String>, ) -> Self
pub fn cross_promoted_from_namespace( self, cross_promoted_from_namespace: impl Into<String>, ) -> Self
pub fn superseded_by(self, superseded_by: impl Into<String>) -> Self
pub fn rejection_reason(self, rejection_reason: impl Into<String>) -> Self
pub fn temporal_anchor(self, temporal_anchor: impl Into<String>) -> Self
pub fn temporal_anchor_null(self) -> Self
pub fn temporal_confidence(self, temporal_confidence: f64) -> Self
pub fn invalid_at(self, invalid_at: impl Into<String>) -> Self
pub fn invalid_at_null(self) -> Self
pub fn char_limit(self, char_limit: impl Into<Integer>) -> Self
pub fn char_limit_null(self) -> Self
pub fn reinforcement_count( self, reinforcement_count: impl Into<Integer>, ) -> Self
pub fn last_reinforced_at(self, last_reinforced_at: impl Into<String>) -> Self
pub fn last_reinforced_at_null(self) -> Self
pub fn mentioned_at(self, mentioned_at: impl Into<String>) -> Self
pub fn mentioned_at_null(self) -> Self
pub fn sensitivity(self, sensitivity: impl Into<String>) -> Self
pub fn redacted_at(self, redacted_at: impl Into<String>) -> Self
pub fn redacted_at_null(self) -> Self
pub fn redaction_reason(self, redaction_reason: impl Into<String>) -> Self
pub fn lock_mode(self, lock_mode: impl Into<String>) -> Self
pub fn lock_reason(self, lock_reason: impl Into<String>) -> Self
pub fn lock_until(self, lock_until: impl Into<String>) -> Self
pub fn lock_until_null(self) -> Self
pub fn locked_by(self, locked_by: impl Into<String>) -> Self
pub fn locked_at(self, locked_at: impl Into<String>) -> Self
pub fn locked_at_null(self) -> Self
pub fn on_expire(self, on_expire: impl Into<String>) -> Self
pub fn expire_reason(self, expire_reason: impl Into<String>) -> Self
pub fn files(self, files: impl IntoIterator<Item = impl Into<String>>) -> Self
pub fn concepts( self, concepts: impl IntoIterator<Item = impl Into<String>>, ) -> Self
Trait Implementations§
Source§impl Clone for SnapshotMemoryRow
impl Clone for SnapshotMemoryRow
Source§impl Debug for SnapshotMemoryRow
impl Debug for SnapshotMemoryRow
Source§impl<'de> Deserialize<'de> for SnapshotMemoryRow
impl<'de> Deserialize<'de> for SnapshotMemoryRow
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 SnapshotMemoryRow
impl PartialEq for SnapshotMemoryRow
Source§impl Serialize for SnapshotMemoryRow
impl Serialize for SnapshotMemoryRow
impl StructuralPartialEq for SnapshotMemoryRow
Auto Trait Implementations§
impl Forget for SnapshotMemoryRow
impl Freeze for SnapshotMemoryRow
impl Move for SnapshotMemoryRow
impl RefUnwindSafe for SnapshotMemoryRow
impl Send for SnapshotMemoryRow
impl Sync for SnapshotMemoryRow
impl Unpin for SnapshotMemoryRow
impl UnsafeUnpin for SnapshotMemoryRow
impl UnwindSafe for SnapshotMemoryRow
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