Struct elasticsearch_dsl::search::runtime_mappings::RuntimeMapping
source · [−]pub struct RuntimeMapping { /* private fields */ }
Expand description
A runtime field that is used in a search request.
Implementations
sourceimpl RuntimeMapping
impl RuntimeMapping
sourcepub fn new<T>(type: RuntimeDataType, source: T) -> Self where
T: ToString,
pub fn new<T>(type: RuntimeDataType, source: T) -> Self where
T: ToString,
Creates a new instance of RuntimeMapping
sourcepub fn boolean<T>(source: T) -> Self where
T: ToString,
pub fn boolean<T>(source: T) -> Self where
T: ToString,
Creates a new instance of RuntimeDataType::Boolean RuntimeMapping
sourcepub fn composite<T>(source: T) -> Self where
T: ToString,
pub fn composite<T>(source: T) -> Self where
T: ToString,
Creates a new instance of RuntimeDataType::Composite RuntimeMapping
sourcepub fn date<T>(source: T) -> Self where
T: ToString,
pub fn date<T>(source: T) -> Self where
T: ToString,
Creates a new instance of RuntimeDataType::Date RuntimeMapping without format
sourcepub fn date_format<F, T>(format: F, source: T) -> Self where
F: ToString,
T: ToString,
pub fn date_format<F, T>(format: F, source: T) -> Self where
F: ToString,
T: ToString,
Creates a new instance of RuntimeDataType::Date RuntimeMapping with format
sourcepub fn double<T>(source: T) -> Self where
T: ToString,
pub fn double<T>(source: T) -> Self where
T: ToString,
Creates a new instance of RuntimeDataType::Double RuntimeMapping
sourcepub fn geo_point<T>(source: T) -> Self where
T: ToString,
pub fn geo_point<T>(source: T) -> Self where
T: ToString,
Creates a new instance of RuntimeDataType::GeoPoint RuntimeMapping
sourcepub fn ip<T>(source: T) -> Self where
T: ToString,
pub fn ip<T>(source: T) -> Self where
T: ToString,
Creates a new instance of RuntimeDataType::Ip RuntimeMapping
sourcepub fn keyword<T>(source: T) -> Self where
T: ToString,
pub fn keyword<T>(source: T) -> Self where
T: ToString,
Creates a new instance of RuntimeDataType::Keyword RuntimeMapping
sourcepub fn long<T>(source: T) -> Self where
T: ToString,
pub fn long<T>(source: T) -> Self where
T: ToString,
Creates a new instance of RuntimeDataType::Long RuntimeMapping
Trait Implementations
sourceimpl Clone for RuntimeMapping
impl Clone for RuntimeMapping
sourcefn clone(&self) -> RuntimeMapping
fn clone(&self) -> RuntimeMapping
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RuntimeMapping
impl Debug for RuntimeMapping
sourceimpl PartialEq<RuntimeMapping> for RuntimeMapping
impl PartialEq<RuntimeMapping> for RuntimeMapping
sourcefn eq(&self, other: &RuntimeMapping) -> bool
fn eq(&self, other: &RuntimeMapping) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RuntimeMapping) -> bool
fn ne(&self, other: &RuntimeMapping) -> bool
This method tests for !=
.
sourceimpl PartialOrd<RuntimeMapping> for RuntimeMapping
impl PartialOrd<RuntimeMapping> for RuntimeMapping
sourcefn partial_cmp(&self, other: &RuntimeMapping) -> Option<Ordering>
fn partial_cmp(&self, other: &RuntimeMapping) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl Serialize for RuntimeMapping
impl Serialize for RuntimeMapping
impl StructuralPartialEq for RuntimeMapping
Auto Trait Implementations
impl RefUnwindSafe for RuntimeMapping
impl Send for RuntimeMapping
impl Sync for RuntimeMapping
impl Unpin for RuntimeMapping
impl UnwindSafe for RuntimeMapping
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more