pub struct PendingMemory {Show 16 fields
pub pending_id: i64,
pub name: String,
pub namespace: String,
pub memory_type: String,
pub description: Option<String>,
pub body: Vec<u8>,
pub body_hash: String,
pub entities_json: Option<String>,
pub relationships_json: Option<String>,
pub status: PendingStatus,
pub embedding: Option<Vec<u8>>,
pub embedding_dim: Option<i32>,
pub attempt_count: i32,
pub last_error: Option<String>,
pub created_at: i64,
pub updated_at: i64,
}Expand description
Representa uma entrada da tabela pending_memories.
Fields§
§pending_id: i64§name: String§namespace: String§memory_type: String§description: Option<String>§body: Vec<u8>§body_hash: String§entities_json: Option<String>§relationships_json: Option<String>§status: PendingStatus§embedding: Option<Vec<u8>>§embedding_dim: Option<i32>§attempt_count: i32§last_error: Option<String>§created_at: i64§updated_at: i64Trait Implementations§
Source§impl Clone for PendingMemory
impl Clone for PendingMemory
Source§fn clone(&self) -> PendingMemory
fn clone(&self) -> PendingMemory
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 PendingMemory
impl Debug for PendingMemory
Source§impl<'de> Deserialize<'de> for PendingMemory
impl<'de> Deserialize<'de> for PendingMemory
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
Auto Trait Implementations§
impl Freeze for PendingMemory
impl RefUnwindSafe for PendingMemory
impl Send for PendingMemory
impl Sync for PendingMemory
impl Unpin for PendingMemory
impl UnsafeUnpin for PendingMemory
impl UnwindSafe for PendingMemory
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more