pub struct InlineFragmentsDeriveInput {
pub graphql_type: Option<SpannedValue<String>>,
/* private fields */
}
Fields§
§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 schema_input(&self) -> Result<SchemaInput, Error>
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.Auto Trait Implementations§
impl Freeze for InlineFragmentsDeriveInput
impl RefUnwindSafe for InlineFragmentsDeriveInput
impl !Send for InlineFragmentsDeriveInput
impl !Sync for InlineFragmentsDeriveInput
impl Unpin for InlineFragmentsDeriveInput
impl UnwindSafe for InlineFragmentsDeriveInput
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