Struct apollo_smith::InputObjectTypeDef
source · [−]pub struct InputObjectTypeDef { /* private fields */ }Expand description
Input objects are composite types used as inputs into queries defined as a list of named input values..
InputObjectTypeDefinition Description? input Name Directives? FieldsDefinition?
Detailed documentation can be found in GraphQL spec.
Note: At the moment InputObjectTypeDefinition differs slightly from the
spec. Instead of accepting InputValues as field parameter, we accept
InputField.
Trait Implementations
sourceimpl Clone for InputObjectTypeDef
impl Clone for InputObjectTypeDef
sourcefn clone(&self) -> InputObjectTypeDef
fn clone(&self) -> InputObjectTypeDef
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for InputObjectTypeDef
impl Debug for InputObjectTypeDef
sourceimpl From<InputObjectTypeDef> for InputObjectDefinition
impl From<InputObjectTypeDef> for InputObjectDefinition
sourcefn from(input_object_def: InputObjectTypeDef) -> Self
fn from(input_object_def: InputObjectTypeDef) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for InputObjectTypeDef
impl Send for InputObjectTypeDef
impl Sync for InputObjectTypeDef
impl Unpin for InputObjectTypeDef
impl UnwindSafe for InputObjectTypeDef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more