pub struct IndexedFileInfo {Show 17 fields
pub source_id: String,
pub title: String,
pub source: String,
pub url: Option<String>,
pub chunk_count: u64,
pub last_modified: i64,
pub summary: Option<String>,
pub processing: bool,
pub memory_type: Option<String>,
pub space: Option<String>,
pub source_agent: Option<String>,
pub confidence: Option<f32>,
pub confirmed: Option<bool>,
pub stability: Option<String>,
pub pinned: bool,
pub created_at: i64,
pub content: String,
}Expand description
File/document info as shown in list views.
Fields§
§source_id: String§title: String§source: String§url: Option<String>§chunk_count: u64§last_modified: i64§summary: Option<String>§processing: bool§memory_type: Option<String>§space: Option<String>§source_agent: Option<String>§confidence: Option<f32>§confirmed: Option<bool>§stability: Option<String>§pinned: bool§created_at: i64Unix timestamp (seconds) when the memory was first created.
Populated from the memories.created_at column (migration 21).
Defaults to 0 for rows from before migration 21.
content: StringThe full memory content. Populated by list_filtered_confirmed for
unconfirmed-review surfaces. Empty string when the producer did not
include it (e.g. aggregate file-list queries).
Trait Implementations§
Source§impl Clone for IndexedFileInfo
impl Clone for IndexedFileInfo
Source§fn clone(&self) -> IndexedFileInfo
fn clone(&self) -> IndexedFileInfo
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 IndexedFileInfo
impl Debug for IndexedFileInfo
Source§impl<'de> Deserialize<'de> for IndexedFileInfo
impl<'de> Deserialize<'de> for IndexedFileInfo
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 IndexedFileInfo
impl RefUnwindSafe for IndexedFileInfo
impl Send for IndexedFileInfo
impl Sync for IndexedFileInfo
impl Unpin for IndexedFileInfo
impl UnsafeUnpin for IndexedFileInfo
impl UnwindSafe for IndexedFileInfo
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