Enum elasticsearch_dsl::analyze::StringOrObject
source · pub enum StringOrObject {
String(String),
Object(Value),
}
Expand description
Structure of filters
Variants§
Trait Implementations§
source§impl Clone for StringOrObject
impl Clone for StringOrObject
source§fn clone(&self) -> StringOrObject
fn clone(&self) -> StringOrObject
Returns a copy of the value. Read more
1.0.0 · 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 StringOrObject
impl Debug for StringOrObject
source§impl<'a> From<&'a str> for StringOrObject
impl<'a> From<&'a str> for StringOrObject
source§impl From<String> for StringOrObject
impl From<String> for StringOrObject
source§impl From<Value> for StringOrObject
impl From<Value> for StringOrObject
source§impl PartialEq for StringOrObject
impl PartialEq for StringOrObject
source§fn eq(&self, other: &StringOrObject) -> bool
fn eq(&self, other: &StringOrObject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StringOrObject
impl Serialize for StringOrObject
impl Eq for StringOrObject
impl StructuralEq for StringOrObject
impl StructuralPartialEq for StringOrObject
Auto Trait Implementations§
impl RefUnwindSafe for StringOrObject
impl Send for StringOrObject
impl Sync for StringOrObject
impl Unpin for StringOrObject
impl UnwindSafe for StringOrObject
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