pub struct DocumentState {
pub document_id: String,
pub version_id: String,
pub content_hash: String,
pub metadata_hash: String,
pub chunk_states: Vec<ChunkState>,
pub embedding_states: Vec<EmbeddingState>,
}Expand description
Document state in snapshot
Fields§
§document_id: StringDocument ID
version_id: StringDocument version at snapshot time
content_hash: StringContent hash
metadata_hash: StringMetadata hash
chunk_states: Vec<ChunkState>Chunk states
embedding_states: Vec<EmbeddingState>Embedding states
Trait Implementations§
Source§impl Clone for DocumentState
impl Clone for DocumentState
Source§fn clone(&self) -> DocumentState
fn clone(&self) -> DocumentState
Returns a duplicate of the value. Read more
1.0.0 · 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 DocumentState
impl Debug for DocumentState
Source§impl<'de> Deserialize<'de> for DocumentState
impl<'de> Deserialize<'de> for DocumentState
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 DocumentState
impl RefUnwindSafe for DocumentState
impl Send for DocumentState
impl Sync for DocumentState
impl Unpin for DocumentState
impl UnwindSafe for DocumentState
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