Skip to main content

SchemaOperationShape

Trait SchemaOperationShape 

Source
pub trait SchemaOperationShape: OperationShape {
    const SCHEMA: &'static OperationSchema<'static>;
}
Expand description

Associates a generated operation marker with its schema descriptor.

Required Associated Constants§

Source

const SCHEMA: &'static OperationSchema<'static>

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§