[][src]Enum druid_io::query::search::SearchQuerySpec

pub enum SearchQuerySpec {
    InsensitiveContains {
        value: String,
    },
    Fragment {
        case_sensitive: bool,
        values: Vec<String>,
    },
    Contains {
        case_sensitive: bool,
        value: String,
    },
    Regex {
        pattern: String,
    },
}

Variants

InsensitiveContains

Fields of InsensitiveContains

value: String
Fragment

Fields of Fragment

case_sensitive: boolvalues: Vec<String>
Contains

Fields of Contains

case_sensitive: boolvalue: String
Regex

Fields of Regex

pattern: String

Implementations

impl SearchQuerySpec[src]

pub fn contains_insensitive(value: &str) -> Self[src]

pub fn constain(value: &str, case_sensitive: bool) -> Self[src]

pub fn fragment(values: Vec<&str>, case_sensitive: bool) -> Self[src]

pub fn regrex(pattern: &str) -> Self[src]

Trait Implementations

impl Debug for SearchQuerySpec[src]

impl<'de> Deserialize<'de> for SearchQuerySpec[src]

impl Serialize for SearchQuerySpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.