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>,
}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
impl SelectorStruct[src]
impl SelectorStruct[src]Trait Implementations
impl ToTokens for SelectorStruct[src]
impl ToTokens for SelectorStruct[src]fn to_tokens(&self, tokens: &mut TokenStream)[src]
pub fn to_token_stream(&self) -> TokenStream[src]
pub fn into_token_stream(self) -> TokenStream[src]
Auto Trait Implementations
impl RefUnwindSafe for SelectorStruct
impl RefUnwindSafe for SelectorStructimpl !Send for SelectorStruct
impl !Send for SelectorStructimpl !Sync for SelectorStruct
impl !Sync for SelectorStructimpl Unpin for SelectorStruct
impl Unpin for SelectorStructimpl UnwindSafe for SelectorStruct
impl UnwindSafe for SelectorStruct