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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl 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
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>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moresourceimpl Serialize for RuntimeDataType
impl Serialize for RuntimeDataType
impl Eq for RuntimeDataType
impl StructuralEq 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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