Enum notion_wasi::models::search::TextCondition
source · pub enum TextCondition {
Equals(String),
DoesNotEqual(String),
Contains(String),
DoesNotContain(String),
StartsWith(String),
EndsWith(String),
IsEmpty,
IsNotEmpty,
}Variants§
Equals(String)
DoesNotEqual(String)
Contains(String)
DoesNotContain(String)
StartsWith(String)
EndsWith(String)
IsEmpty
IsNotEmpty
Trait Implementations§
source§impl Clone for TextCondition
impl Clone for TextCondition
source§fn clone(&self) -> TextCondition
fn clone(&self) -> TextCondition
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 TextCondition
impl Debug for TextCondition
source§impl PartialEq<TextCondition> for TextCondition
impl PartialEq<TextCondition> for TextCondition
source§fn eq(&self, other: &TextCondition) -> bool
fn eq(&self, other: &TextCondition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TextCondition
impl Serialize for TextCondition
impl Eq for TextCondition
impl StructuralEq for TextCondition
impl StructuralPartialEq for TextCondition
Auto Trait Implementations§
impl RefUnwindSafe for TextCondition
impl Send for TextCondition
impl Sync for TextCondition
impl Unpin for TextCondition
impl UnwindSafe for TextCondition
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.