pub trait GraphQLResolver {
// Required method
fn resolve(
&self,
field: &str,
args: &HashMap<String, Value>,
) -> DeviceResult<Value>;
}Expand description
GraphQL resolver trait
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".