pub struct MemoryDetail {
pub id: String,
pub content: String,
pub title: String,
pub source_id: String,
pub chunk_index: i32,
pub chunk_type: Option<String>,
pub language: Option<String>,
pub semantic_unit: Option<String>,
pub byte_start: Option<i64>,
pub byte_end: Option<i64>,
pub summary: Option<String>,
}Expand description
Detailed chunk-level view of a stored memory, returned by /api/chunks/{source_id}.
Fields§
§id: String§content: String§title: String§source_id: String§chunk_index: i32§chunk_type: Option<String>§language: Option<String>§semantic_unit: Option<String>§byte_start: Option<i64>§byte_end: Option<i64>§summary: Option<String>Trait Implementations§
Source§impl Clone for MemoryDetail
impl Clone for MemoryDetail
Source§fn clone(&self) -> MemoryDetail
fn clone(&self) -> MemoryDetail
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 MemoryDetail
impl Debug for MemoryDetail
Source§impl<'de> Deserialize<'de> for MemoryDetail
impl<'de> Deserialize<'de> for MemoryDetail
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 MemoryDetail
impl RefUnwindSafe for MemoryDetail
impl Send for MemoryDetail
impl Sync for MemoryDetail
impl Unpin for MemoryDetail
impl UnsafeUnpin for MemoryDetail
impl UnwindSafe for MemoryDetail
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