Enum elasticsearch_dsl::search::params::Scalar [−][src]
pub enum Scalar {
Bool(bool),
String(String),
SignedInteger(i64),
UnsignedInteger(u64),
Float32(f32),
Float64(f64),
DateTime(DateTime<Utc>),
}Expand description
An enum type for leaf level queries such as terms, range, values
Variants
Bool(bool)Boolean value
Tuple Fields of Bool
0: boolString(String)String value
Tuple Fields of String
0: StringSignedInteger(i64)Signed integer value
Tuple Fields of SignedInteger
0: i64UnsignedInteger(u64)Unsigned integer value
Tuple Fields of UnsignedInteger
0: u64Float32(f32)Floating 32-bit point value
Tuple Fields of Float32
0: f32Float64(f64)Floating 64-bit point value
Tuple Fields of Float64
0: f64DateTime
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Scalar
impl UnwindSafe for Scalar
Blanket Implementations
Mutably borrows from an owned value. Read more