[][src]Enum juniper::DefaultScalarValue

pub enum DefaultScalarValue {
    Int(i32),
    Float(f64),
    String(String),
    Boolean(bool),
}

The default scalar value representation in juniper

This types closely follows the graphql specification.

Variants

Trait Implementations

impl ScalarValue for DefaultScalarValue
[src]

Serde visitor used to deserialize this scalar value

Checks if the current value contains the a value of the current type Read more

impl PartialEq<DefaultScalarValue> for DefaultScalarValue
[src]

impl From<i32> for DefaultScalarValue
[src]

impl<'a> From<&'a DefaultScalarValue> for Option<&'a i32>
[src]

impl From<DefaultScalarValue> for Option<i32>
[src]

impl From<f64> for DefaultScalarValue
[src]

impl<'a> From<&'a DefaultScalarValue> for Option<&'a f64>
[src]

impl From<DefaultScalarValue> for Option<f64>
[src]

impl From<String> for DefaultScalarValue
[src]

impl<'a> From<&'a DefaultScalarValue> for Option<&'a String>
[src]

impl From<DefaultScalarValue> for Option<String>
[src]

impl From<bool> for DefaultScalarValue
[src]

impl<'a> From<&'a DefaultScalarValue> for Option<&'a bool>
[src]

impl From<DefaultScalarValue> for Option<bool>
[src]

impl<'a> From<&'a str> for DefaultScalarValue
[src]

impl Clone for DefaultScalarValue
[src]

Performs copy-assignment from source. Read more

impl Display for DefaultScalarValue
[src]

impl Debug for DefaultScalarValue
[src]

impl Serialize for DefaultScalarValue
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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