[][src]Trait cynic::Scalar

pub trait Scalar: Sized {
    fn decode(value: &Value) -> Result<Self, DecodeError>;
}

Required methods

fn decode(value: &Value) -> Result<Self, DecodeError>

Loading content...

Implementations on Foreign Types

impl Scalar for i64[src]

impl Scalar for f64[src]

impl Scalar for bool[src]

impl Scalar for String[src]

impl Scalar for Value[src]

Loading content...

Implementors

Loading content...