pub trait HasArgument<ArgumentMarker> {
type ArgumentType;
const NAME: &'static str;
}Expand description
Indicates that a field has an argument
This should be implemented on the field marker type for each argument
that field has. ArgumentMarker should be the marker type for the
argument.
Required Associated Constants§
Required Associated Types§
Sourcetype ArgumentType
type ArgumentType
The schema marker type of this argument.
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.