pub struct LikeDocument {
pub id: Option<String>,
pub routing: Option<String>,
pub version: Option<u32>,
pub index: Option<String>,
pub per_field_analyzer: Option<Value>,
pub version_type: Option<String>,
pub fields: Option<Vec<String>>,
}Fields§
§id: Option<String>§routing: Option<String>§version: Option<u32>§index: Option<String>§per_field_analyzer: Option<Value>§version_type: Option<String>§fields: Option<Vec<String>>Implementations§
Source§impl LikeDocument
impl LikeDocument
pub fn new() -> LikeDocument
Trait Implementations§
Source§impl Clone for LikeDocument
impl Clone for LikeDocument
Source§fn clone(&self) -> LikeDocument
fn clone(&self) -> LikeDocument
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 LikeDocument
impl Debug for LikeDocument
Source§impl Default for LikeDocument
impl Default for LikeDocument
Source§fn default() -> LikeDocument
fn default() -> LikeDocument
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LikeDocument
impl<'de> Deserialize<'de> for LikeDocument
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
Source§impl PartialEq for LikeDocument
impl PartialEq for LikeDocument
Source§fn eq(&self, other: &LikeDocument) -> bool
fn eq(&self, other: &LikeDocument) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LikeDocument
impl Serialize for LikeDocument
impl StructuralPartialEq for LikeDocument
Auto Trait Implementations§
impl Freeze for LikeDocument
impl RefUnwindSafe for LikeDocument
impl Send for LikeDocument
impl Sync for LikeDocument
impl Unpin for LikeDocument
impl UnsafeUnpin for LikeDocument
impl UnwindSafe for LikeDocument
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