Struct cynic_codegen::enum_derive::EnumDeriveInput
source · pub struct EnumDeriveInput {
pub schema_path: SpannedValue<String>,
pub graphql_type: Option<SpannedValue<String>>,
/* private fields */
}Fields
schema_path: SpannedValue<String>graphql_type: Option<SpannedValue<String>>Implementations
sourceimpl EnumDeriveInput
impl EnumDeriveInput
pub fn schema_module(&self) -> Path
sourceimpl EnumDeriveInput
impl EnumDeriveInput
pub fn graphql_type_name(&self) -> String
pub fn graphql_type_span(&self) -> Span
Trait Implementations
sourceimpl FromDeriveInput for EnumDeriveInput
impl FromDeriveInput for EnumDeriveInput
sourcefn 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 EnumDeriveInput
impl !Send for EnumDeriveInput
impl !Sync for EnumDeriveInput
impl Unpin for EnumDeriveInput
impl UnwindSafe for EnumDeriveInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more