pub struct GQLObject {
pub name: String,
pub fields: Vec<GQLField>,
pub implements: Vec<String>,
pub description: Option<String>,
}Expand description
A GraphQL object type definition.
Fields§
§name: String§fields: Vec<GQLField>§implements: Vec<String>Names of interfaces this object implements.
description: Option<String>Optional description for the object type.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GQLObject
impl RefUnwindSafe for GQLObject
impl Send for GQLObject
impl Sync for GQLObject
impl Unpin for GQLObject
impl UnsafeUnpin for GQLObject
impl UnwindSafe for GQLObject
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