[][src]Trait cynic::InputObject

pub trait InputObject<TypeLock> {
    fn serialize(&self) -> Result<Value, SerializeError>;
}

A trait for GraphQL input objects.

This trait is generic over some TypeLock which is used to tie an InputType back into it's GraphQL input object. Generally this will be some type generated in the GQL code.

Required methods

Loading content...

Trait Implementations

impl<TypeLock> SerializableArgument for dyn InputObject<TypeLock>[src]

Implementors

Loading content...