Struct graphql_tools::static_graphql::schema::ObjectType
source ·
[−]pub struct ObjectType<'a, T> where
T: Text<'a>, {
pub position: Pos,
pub description: Option<String>,
pub name: <T as Text<'a>>::Value,
pub implements_interfaces: Vec<<T as Text<'a>>::Value, Global>,
pub directives: Vec<Directive<'a, T>, Global>,
pub fields: Vec<Field<'a, T>, Global>,
}
Fields
position: Pos
description: Option<String>
name: <T as Text<'a>>::Value
implements_interfaces: Vec<<T as Text<'a>>::Value, Global>
directives: Vec<Directive<'a, T>, Global>
fields: Vec<Field<'a, T>, Global>
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for ObjectType<'a, T> where
<T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for ObjectType<'a, T> where
<T as Text<'a>>::Value: Send,
impl<'a, T> Sync for ObjectType<'a, T> where
<T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for ObjectType<'a, T> where
<T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for ObjectType<'a, T> where
<T as Text<'a>>::Value: UnwindSafe + RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more