pub enum VariableDefinitionInputType<'a, B: BaseInputType> {
Base(BaseInputTypeReference<'a, B>, bool),
List(Box<Self>, bool),
}Variants§
Trait Implementations§
source§impl<'a, B: Clone + BaseInputType> Clone for VariableDefinitionInputType<'a, B>
impl<'a, B: Clone + BaseInputType> Clone for VariableDefinitionInputType<'a, B>
source§fn clone(&self) -> VariableDefinitionInputType<'a, B>
fn clone(&self) -> VariableDefinitionInputType<'a, B>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'a, B: BaseInputType> InputType for VariableDefinitionInputType<'a, B>
impl<'a, B: BaseInputType> InputType for VariableDefinitionInputType<'a, B>
type BaseInputType = BaseInputTypeReference<'a, B>
fn as_ref(&self) -> InputTypeReference<'_, Self>
source§impl<'a, S: SchemaDefinition, T: VariableType> TryFrom<(&'a S, &T)> for VariableDefinitionInputType<'a, S::BaseInputType>
impl<'a, S: SchemaDefinition, T: VariableType> TryFrom<(&'a S, &T)> for VariableDefinitionInputType<'a, S::BaseInputType>
source§impl<'a, B: BaseInputType, T: VariableType> TryFrom<(BaseInputTypeReference<'a, B>, &T)> for VariableDefinitionInputType<'a, B>
impl<'a, B: BaseInputType, T: VariableType> TryFrom<(BaseInputTypeReference<'a, B>, &T)> for VariableDefinitionInputType<'a, B>
Auto Trait Implementations§
impl<'a, B> RefUnwindSafe for VariableDefinitionInputType<'a, B>where <B as BaseInputType>::CustomScalarTypeDefinition: RefUnwindSafe, <B as BaseInputType>::EnumTypeDefinition: RefUnwindSafe, <B as BaseInputType>::InputObjectTypeDefinition: RefUnwindSafe,
impl<'a, B> Send for VariableDefinitionInputType<'a, B>where <B as BaseInputType>::CustomScalarTypeDefinition: Sync, <B as BaseInputType>::EnumTypeDefinition: Sync, <B as BaseInputType>::InputObjectTypeDefinition: Sync,
impl<'a, B> Sync for VariableDefinitionInputType<'a, B>where <B as BaseInputType>::CustomScalarTypeDefinition: Sync, <B as BaseInputType>::EnumTypeDefinition: Sync, <B as BaseInputType>::InputObjectTypeDefinition: Sync,
impl<'a, B> Unpin for VariableDefinitionInputType<'a, B>
impl<'a, B> UnwindSafe for VariableDefinitionInputType<'a, B>where <B as BaseInputType>::CustomScalarTypeDefinition: RefUnwindSafe, <B as BaseInputType>::EnumTypeDefinition: RefUnwindSafe, <B as BaseInputType>::InputObjectTypeDefinition: RefUnwindSafe,
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