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§
source§impl<'a, T> ObjectType<'a, T>where
T: Text<'a>,
impl<'a, T> ObjectType<'a, T>where
T: Text<'a>,
pub fn new(name: <T as Text<'a>>::Value) -> ObjectType<'a, T>
Trait Implementations§
source§impl<'a, T> Clone for ObjectType<'a, T>where
T: Clone + Text<'a>,
<T as Text<'a>>::Value: Clone,
impl<'a, T> Clone for ObjectType<'a, T>where
T: Clone + Text<'a>,
<T as Text<'a>>::Value: Clone,
source§fn clone(&self) -> ObjectType<'a, T>
fn clone(&self) -> ObjectType<'a, T>
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 more