Struct inference_core::document::Document
source · pub struct Document {
pub id: String,
pub metadata: Metadata,
pub text: String,
pub vector: Embedding,
}
Fields§
§id: String
§metadata: Metadata
§text: String
§vector: Embedding
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnwindSafe for Document
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