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
sourceimpl Debug for UnionTypeDef
impl Debug for UnionTypeDef
sourceimpl From<UnionTypeDef> for UnionDefinition
impl From<UnionTypeDef> for UnionDefinition
sourcefn from(union_ty_def: UnionTypeDef) -> Self
fn from(union_ty_def: UnionTypeDef) -> Self
Performs the conversion.
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
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