pub struct EsDocument {
pub id: Option<String>,
pub index: String,
pub source: Value,
pub timestamp: i64,
}Fields§
§id: Option<String>§index: String§source: Value§timestamp: i64Implementations§
Trait Implementations§
Source§impl Clone for EsDocument
impl Clone for EsDocument
Source§fn clone(&self) -> EsDocument
fn clone(&self) -> EsDocument
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 EsDocument
impl Debug for EsDocument
Source§impl<'de> Deserialize<'de> for EsDocument
impl<'de> Deserialize<'de> for EsDocument
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 EsDocument
impl RefUnwindSafe for EsDocument
impl Send for EsDocument
impl Sync for EsDocument
impl Unpin for EsDocument
impl UnsafeUnpin for EsDocument
impl UnwindSafe for EsDocument
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