pub struct StoredDocument {
pub doc_id: DocId,
pub revision: Revision,
pub timestamp: i64,
pub vector: Option<Vec<f32>>,
pub text: Option<String>,
pub metadata: Option<Vec<u8>>,
pub attributes: Option<Vec<(ColumnId, PredicateValue)>>,
}Expand description
One live document copied from a single pinned store generation.
Fields§
§doc_id: DocIdStable application document identifier.
revision: RevisionLive monotonic revision.
timestamp: i64Canonical clustering timestamp.
vector: Option<Vec<f32>>Selected full-precision vector, or None when not requested.
text: Option<String>Selected stored UTF-8 text, or None when absent or not requested.
metadata: Option<Vec<u8>>Selected opaque metadata, or None when absent or not requested.
attributes: Option<Vec<(ColumnId, PredicateValue)>>Selected non-null typed attributes, or None when not requested.
Trait Implementations§
Source§impl Clone for StoredDocument
impl Clone for StoredDocument
Source§impl Debug for StoredDocument
impl Debug for StoredDocument
Source§impl PartialEq for StoredDocument
impl PartialEq for StoredDocument
impl StructuralPartialEq for StoredDocument
Auto Trait Implementations§
impl Freeze for StoredDocument
impl RefUnwindSafe for StoredDocument
impl Send for StoredDocument
impl Sync for StoredDocument
impl Unpin for StoredDocument
impl UnsafeUnpin for StoredDocument
impl UnwindSafe for StoredDocument
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