Struct cynic_codegen::use_schema::SelectorStruct [−][src]
pub struct SelectorStruct { pub name: Ident, pub graphql_name: String, pub fields: Vec<FieldSelector>, pub selection_builders: Vec<FieldSelectionBuilder>, }
Expand description
We generate a SelectorStruct for each queryable object in the schema.
When output from our macros these contain FieldSelector functions that create the selection sets which make up a graphql query.
Fields
name: Ident
graphql_name: String
fields: Vec<FieldSelector>
selection_builders: Vec<FieldSelectionBuilder>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SelectorStruct
impl !Send for SelectorStruct
impl !Sync for SelectorStruct
impl Unpin for SelectorStruct
impl UnwindSafe for SelectorStruct
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty. Read more