pub struct InlineFragmentsDeriveInput {
pub schema_path: SpannedValue<String>,
pub graphql_type: Option<SpannedValue<String>>,
/* private fields */
}Fields§
§schema_path: SpannedValue<String>§graphql_type: Option<SpannedValue<String>>Implementations§
source§impl InlineFragmentsDeriveInput
impl InlineFragmentsDeriveInput
pub fn schema_module(&self) -> Path
pub fn graphql_type_name(&self) -> String
pub fn graphql_type_span(&self) -> Span
pub fn variables(&self) -> Option<Path>
pub fn deprecations(&self) -> TokenStream
Trait Implementations§
source§impl FromDeriveInput for InlineFragmentsDeriveInput
impl FromDeriveInput for InlineFragmentsDeriveInput
source§fn from_derive_input(__di: &DeriveInput) -> Result<Self>
fn from_derive_input(__di: &DeriveInput) -> Result<Self>
Create an instance from
syn::DeriveInput, or return an error.