pub enum RuntimeDataType {
Boolean,
Composite,
Date(Option<String>),
Double,
GeoPoint,
Ip,
Keyword,
Long,
}
Expand description
A runtime data type that is used in a search request.
Variants
Boolean
Boolean
Composite
Composite
Date(Option<String>)
Date with optional format
Double
Double
GeoPoint
Geo point
Ip
IP address
Keyword
Keyword
Long
Long
Trait Implementations
sourceimpl Clone for RuntimeDataType
impl Clone for RuntimeDataType
sourcefn clone(&self) -> RuntimeDataType
fn clone(&self) -> RuntimeDataType
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 RuntimeDataType
impl Debug for RuntimeDataType
sourceimpl PartialEq<RuntimeDataType> for RuntimeDataType
impl PartialEq<RuntimeDataType> for RuntimeDataType
sourcefn eq(&self, other: &RuntimeDataType) -> bool
fn eq(&self, other: &RuntimeDataType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RuntimeDataType) -> bool
fn ne(&self, other: &RuntimeDataType) -> bool
This method tests for !=
.
sourceimpl PartialOrd<RuntimeDataType> for RuntimeDataType
impl PartialOrd<RuntimeDataType> for RuntimeDataType
sourcefn partial_cmp(&self, other: &RuntimeDataType) -> Option<Ordering>
fn partial_cmp(&self, other: &RuntimeDataType) -> 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 RuntimeDataType
impl Serialize for RuntimeDataType
impl StructuralPartialEq for RuntimeDataType
Auto Trait Implementations
impl RefUnwindSafe for RuntimeDataType
impl Send for RuntimeDataType
impl Sync for RuntimeDataType
impl Unpin for RuntimeDataType
impl UnwindSafe for RuntimeDataType
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