[][src]Trait juniper::ParseScalarValue

pub trait ParseScalarValue<S = DefaultScalarValue> {
    fn from_str<'a>(value: ScalarToken<'a>) -> ParseScalarResult<'a, S>;
}

A trait used to convert a ScalarToken into a certain scalar value type

Required methods

fn from_str<'a>(value: ScalarToken<'a>) -> ParseScalarResult<'a, S>

See the trait documentation

Loading content...

Implementations on Foreign Types

impl<S> ParseScalarValue<S> for String where
    S: ScalarValue,
    &'__b S: ScalarRefValue<'__b>, 
[src]

impl<S> ParseScalarValue<S> for bool where
    S: ScalarValue,
    &'__b S: ScalarRefValue<'__b>, 
[src]

impl<S> ParseScalarValue<S> for i32 where
    S: ScalarValue,
    &'__b S: ScalarRefValue<'__b>, 
[src]

impl<S> ParseScalarValue<S> for f64 where
    S: ScalarValue,
    &'__b S: ScalarRefValue<'__b>, 
[src]

impl<S> ParseScalarValue<S> for () where
    S: ScalarValue
[src]

impl<S> ParseScalarValue<S> for DateTime<FixedOffset> where
    S: ScalarValue,
    &'__b S: ScalarRefValue<'__b>, 
[src]

impl<S> ParseScalarValue<S> for DateTime<Utc> where
    S: ScalarValue,
    &'__b S: ScalarRefValue<'__b>, 
[src]

impl<S> ParseScalarValue<S> for NaiveDate where
    S: ScalarValue,
    &'__b S: ScalarRefValue<'__b>, 
[src]

impl<S> ParseScalarValue<S> for NaiveDateTime where
    S: ScalarValue,
    &'__b S: ScalarRefValue<'__b>, 
[src]

impl<S> ParseScalarValue<S> for Url where
    S: ScalarValue,
    &'__b S: ScalarRefValue<'__b>, 
[src]

impl<S> ParseScalarValue<S> for Uuid where
    S: ScalarValue,
    &'__b S: ScalarRefValue<'__b>, 
[src]

Loading content...

Implementors

impl<S> ParseScalarValue<S> for ID where
    S: ScalarValue,
    &'__b S: ScalarRefValue<'__b>, 
[src]

Loading content...