[][src]Trait juniper::ScalarRefValue

pub trait ScalarRefValue<'a>: Debug + Into<Option<&'a bool>> + Into<Option<&'a i32>> + Into<Option<&'a String>> + Into<Option<&'a f64>> { }

A marker trait extending the ScalarValue trait

This trait should not be relied on directly by most apps. However, you may need a where clause in the form of for<'b> &'b S: ScalarRefValue<'b> to abstract over different scalar value types.

This is automatically implemented for a type as soon as the type implements ScalarValue and the additional conversations.

Implementations on Foreign Types

impl<'a, T> ScalarRefValue<'a> for &'a T where
    T: ScalarValue,
    &'a T: Into<Option<&'a bool>> + Into<Option<&'a i32>> + Into<Option<&'a String>> + Into<Option<&'a f64>>, 
[src]

Loading content...

Implementors

Loading content...