pub trait ValueFromNode<'a>: Sized {
// Required method
fn to_json(self, variables: Option<&Variables<'a>>) -> JSValue;
}
Expand description
Trait for convertin AST Value Nodes of a GraphQL language document to serde_json::Values.
Required 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.