Struct apollo_smith::UnionTypeDef
source · pub struct UnionTypeDef { /* private fields */ }
Expand description
UnionDefs are an abstract type where no common fields are declared.
UnionDefTypeDefinition: Description? union Name Directives? UnionDefMemberTypes?
Detailed documentation can be found in GraphQL spec.
Trait Implementations§
source§impl Clone for UnionTypeDef
impl Clone for UnionTypeDef
source§fn clone(&self) -> UnionTypeDef
fn clone(&self) -> UnionTypeDef
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 Debug for UnionTypeDef
impl Debug for UnionTypeDef
source§impl From<UnionTypeDef> for UnionDefinition
impl From<UnionTypeDef> for UnionDefinition
source§fn from(union_ty_def: UnionTypeDef) -> Self
fn from(union_ty_def: UnionTypeDef) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for UnionTypeDef
impl Send for UnionTypeDef
impl Sync for UnionTypeDef
impl Unpin for UnionTypeDef
impl UnwindSafe for UnionTypeDef
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