pub struct InputObjectDeriveInput {
pub graphql_type: Option<SpannedValue<String>>,
pub require_all_fields: bool,
/* private fields */
}Fields§
§graphql_type: Option<SpannedValue<String>>§require_all_fields: boolImplementations§
source§impl InputObjectDeriveInput
impl InputObjectDeriveInput
pub fn schema_module(&self) -> Path
pub fn graphql_type_name(&self) -> String
pub fn graphql_type_span(&self) -> Span
pub fn schema_input(&self) -> Result<SchemaInput, Error>
Trait Implementations§
source§impl FromDeriveInput for InputObjectDeriveInput
impl FromDeriveInput for InputObjectDeriveInput
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 InputObjectDeriveInput
impl !Send for InputObjectDeriveInput
impl !Sync for InputObjectDeriveInput
impl Unpin for InputObjectDeriveInput
impl UnwindSafe for InputObjectDeriveInput
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