Trait cynic::schema::HasArgument
source · 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 Types§
sourcetype ArgumentType
type ArgumentType
The schema marker type of this argument.