Enum elasticsearch_dsl::analyze::StringOrObject
source · [−]Expand description
Structure of filters
Variants
String(String)
Built-in filters
Object(Value)
Custom filters
Trait Implementations
sourceimpl Clone for StringOrObject
impl Clone for StringOrObject
sourcefn clone(&self) -> StringOrObject
fn clone(&self) -> StringOrObject
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 StringOrObject
impl Debug for StringOrObject
sourceimpl<'a> From<&'a str> for StringOrObject
impl<'a> From<&'a str> for StringOrObject
sourceimpl From<String> for StringOrObject
impl From<String> for StringOrObject
sourceimpl From<Value> for StringOrObject
impl From<Value> for StringOrObject
sourceimpl PartialEq<StringOrObject> for StringOrObject
impl PartialEq<StringOrObject> for StringOrObject
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &StringOrObject) -> bool
fn ne(&self, other: &StringOrObject) -> bool
This method tests for !=
.
sourceimpl Serialize for StringOrObject
impl Serialize 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
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