pub struct Document {
pub index: String,
pub id: String,
pub version: i64,
pub seq_no: i64,
pub primary_term: i64,
pub source: Json,
}Expand description
A document read back by id.
Fields§
§index: String§id: String§version: i64§seq_no: i64§primary_term: i64§source: JsonImplementations§
Trait Implementations§
impl StructuralPartialEq for Document
Auto Trait Implementations§
impl Freeze for Document
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnsafeUnpin 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