Trait cynic::schema::HasField

source ·
pub trait HasField<FieldMarker> {
    type Type;
}
Expand description

Indicates that a type has a given field

This should be implemented several times for any given type, once per field. FieldMarker should be the marker type for the field,

Required Associated Types§

source

type Type

The schema marker type of this field.

Implementors§