Enum dgraph_query_lib::condition::Condition[][src]

pub enum Condition {
    UID(String),
    EQ(StringConditionValue),
    GE(StringConditionValue),
    GT(StringConditionValue),
    LE(StringConditionValue),
    LT(StringConditionValue),
    HAS(String),
    REGEXP(StringConditionValue),
    AND(Box<Condition>, Box<Condition>),
    OR(Box<Condition>, Box<Condition>),
    NOT(Box<Condition>),
}

Variants

UID(String)
HAS(String)

Implementations

impl Condition[src]

pub fn len(value: &str) -> String[src]

pub fn has(value: &str) -> Condition[src]

pub fn uid(value: &str) -> Condition[src]

Trait Implementations

impl Clone for Condition[src]

impl Debug for Condition[src]

impl ToQueryString for Condition[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> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,