Skip to main content

SnapshotMemoryRow

Struct SnapshotMemoryRow 

Source
#[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>§tags: Option<Vec<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

Source

pub fn new(required: SnapshotMemoryRowRequired) -> Self

Source

pub fn expires_at(self, expires_at: impl Into<String>) -> Self

Source

pub fn expires_at_null(self) -> Self

Source

pub fn entities( self, entities: impl IntoIterator<Item = impl Into<String>>, ) -> Self

Source

pub fn version(self, version: impl Into<Integer>) -> Self

Source

pub fn content_sha256(self, content_sha256: impl Into<String>) -> Self

Source

pub fn actor(self, actor: impl Into<String>) -> Self

Source

pub fn source_class(self, source_class: impl Into<String>) -> Self

Source

pub fn source_resource_id(self, source_resource_id: impl Into<String>) -> Self

Source

pub fn verified_by(self, verified_by: impl Into<String>) -> Self

Source

pub fn verified_at(self, verified_at: impl Into<String>) -> Self

Source

pub fn verified_at_null(self) -> Self

Source

pub fn verified_sha256(self, verified_sha256: impl Into<String>) -> Self

Source

pub fn grounding(self, grounding: impl Into<String>) -> Self

Source

pub fn evidence(self, evidence: impl Into<String>) -> Self

Source

pub fn tags(self, tags: impl IntoIterator<Item = impl Into<String>>) -> Self

Source

pub fn valid_at(self, valid_at: impl Into<String>) -> Self

Source

pub fn valid_at_null(self) -> Self

Source

pub fn valid_to(self, valid_to: impl Into<String>) -> Self

Source

pub fn valid_to_null(self) -> Self

Source

pub fn created_at(self, created_at: impl Into<String>) -> Self

Source

pub fn created_at_null(self) -> Self

Source

pub fn updated_at(self, updated_at: impl Into<String>) -> Self

Source

pub fn updated_at_null(self) -> Self

Source

pub fn value_json(self, value_json: impl Into<String>) -> Self

Source

pub fn status(self, status: SnapshotMemoryRowStatus) -> Self

Source

pub fn requires_review(self, requires_review: bool) -> Self

Source

pub fn requires_review_null(self) -> Self

Source

pub fn conflict_with( self, conflict_with: impl IntoIterator<Item = impl Into<String>>, ) -> Self

Source

pub fn duplicate_of(self, duplicate_of: impl Into<String>) -> Self

Source

pub fn evidence_count(self, evidence_count: impl Into<Integer>) -> Self

Source

pub fn recall_count(self, recall_count: impl Into<Integer>) -> Self

Source

pub fn last_recalled_at(self, last_recalled_at: impl Into<String>) -> Self

Source

pub fn last_recalled_at_null(self) -> Self

Source

pub fn cross_promoted_from_memory_id( self, cross_promoted_from_memory_id: impl Into<String>, ) -> Self

Source

pub fn cross_promoted_from_namespace( self, cross_promoted_from_namespace: impl Into<String>, ) -> Self

Source

pub fn superseded_by(self, superseded_by: impl Into<String>) -> Self

Source

pub fn rejection_reason(self, rejection_reason: impl Into<String>) -> Self

Source

pub fn temporal_anchor(self, temporal_anchor: impl Into<String>) -> Self

Source

pub fn temporal_anchor_null(self) -> Self

Source

pub fn temporal_confidence(self, temporal_confidence: f64) -> Self

Source

pub fn invalid_at(self, invalid_at: impl Into<String>) -> Self

Source

pub fn invalid_at_null(self) -> Self

Source

pub fn char_limit(self, char_limit: impl Into<Integer>) -> Self

Source

pub fn char_limit_null(self) -> Self

Source

pub fn reinforcement_count( self, reinforcement_count: impl Into<Integer>, ) -> Self

Source

pub fn last_reinforced_at(self, last_reinforced_at: impl Into<String>) -> Self

Source

pub fn last_reinforced_at_null(self) -> Self

Source

pub fn mentioned_at(self, mentioned_at: impl Into<String>) -> Self

Source

pub fn mentioned_at_null(self) -> Self

Source

pub fn sensitivity(self, sensitivity: impl Into<String>) -> Self

Source

pub fn redacted_at(self, redacted_at: impl Into<String>) -> Self

Source

pub fn redacted_at_null(self) -> Self

Source

pub fn redaction_reason(self, redaction_reason: impl Into<String>) -> Self

Source

pub fn lock_mode(self, lock_mode: impl Into<String>) -> Self

Source

pub fn lock_reason(self, lock_reason: impl Into<String>) -> Self

Source

pub fn lock_until(self, lock_until: impl Into<String>) -> Self

Source

pub fn lock_until_null(self) -> Self

Source

pub fn locked_by(self, locked_by: impl Into<String>) -> Self

Source

pub fn locked_at(self, locked_at: impl Into<String>) -> Self

Source

pub fn locked_at_null(self) -> Self

Source

pub fn on_expire(self, on_expire: impl Into<String>) -> Self

Source

pub fn expire_reason(self, expire_reason: impl Into<String>) -> Self

Source

pub fn files(self, files: impl IntoIterator<Item = impl Into<String>>) -> Self

Source

pub fn concepts( self, concepts: impl IntoIterator<Item = impl Into<String>>, ) -> Self

Trait Implementations§

Source§

impl Clone for SnapshotMemoryRow

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SnapshotMemoryRow

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for SnapshotMemoryRow

Source§

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

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for SnapshotMemoryRow

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for SnapshotMemoryRow

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self> ⓘ

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self> ⓘ

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more