pub struct FragmentDeriveInput {
pub graphql_type: Option<SpannedValue<String>>,
/* private fields */
}Fields§
§graphql_type: Option<SpannedValue<String>>Implementations§
source§impl FragmentDeriveInput
impl FragmentDeriveInput
pub fn schema_module(&self) -> Path
pub fn graphql_type_name(&self) -> String
pub fn graphql_type_span(&self) -> Span
pub fn validate(&self) -> Result<(), Errors>
pub fn detect_aliases(&mut self)
pub fn variables(&self) -> Option<Path>
pub fn schema_input(&self) -> Result<SchemaInput, Error>
Trait Implementations§
source§impl FromDeriveInput for FragmentDeriveInput
impl FromDeriveInput for FragmentDeriveInput
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.Auto Trait Implementations§
impl RefUnwindSafe for FragmentDeriveInput
impl !Send for FragmentDeriveInput
impl !Sync for FragmentDeriveInput
impl Unpin for FragmentDeriveInput
impl UnwindSafe for FragmentDeriveInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more