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: Identgraphql_name: Stringfields: Vec<FieldSelector>selection_builders: Vec<FieldSelectionBuilder>Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SelectorStructimpl !Send for SelectorStructimpl !Sync for SelectorStructimpl Unpin for SelectorStructimpl UnwindSafe for SelectorStructBlanket 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