Skip to main content

GQLInput

Trait GQLInput 

Source
pub trait GQLInput<S: Scalar>: Sized
where Self: 'static,
{ // Required method fn from_variables(vars: &Values<S>) -> Result<Self, String>; // Provided methods fn from_variables_to_any(vars: &Values<S>) -> Result<Box<dyn Any>, String> { ... } fn from_variables_array(vars: &[&Values<S>]) -> Result<Vec<Self>, String> { ... } fn from_variables_to_any_array( vars: &[&Values<S>], ) -> Result<Box<dyn Any>, String> { ... } }

Required Methods§

Source

fn from_variables(vars: &Values<S>) -> Result<Self, String>

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§