Struct apollo_compiler::database::hir::TypeSystemDefinitions
source · pub struct TypeSystemDefinitions {
pub schema: Arc<SchemaDefinition>,
pub scalars: ByName<ScalarTypeDefinition>,
pub objects: ByName<ObjectTypeDefinition>,
pub interfaces: ByName<InterfaceTypeDefinition>,
pub unions: ByName<UnionTypeDefinition>,
pub enums: ByName<EnumTypeDefinition>,
pub input_objects: ByName<InputObjectTypeDefinition>,
pub directives: ByName<DirectiveDefinition>,
}
Fields§
§schema: Arc<SchemaDefinition>
§scalars: ByName<ScalarTypeDefinition>
§objects: ByName<ObjectTypeDefinition>
§interfaces: ByName<InterfaceTypeDefinition>
§unions: ByName<UnionTypeDefinition>
§enums: ByName<EnumTypeDefinition>
§input_objects: ByName<InputObjectTypeDefinition>
§directives: ByName<DirectiveDefinition>
Trait Implementations§
source§impl Clone for TypeSystemDefinitions
impl Clone for TypeSystemDefinitions
source§fn clone(&self) -> TypeSystemDefinitions
fn clone(&self) -> TypeSystemDefinitions
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 TypeSystemDefinitions
impl Debug for TypeSystemDefinitions
source§impl PartialEq<TypeSystemDefinitions> for TypeSystemDefinitions
impl PartialEq<TypeSystemDefinitions> for TypeSystemDefinitions
source§fn eq(&self, other: &TypeSystemDefinitions) -> bool
fn eq(&self, other: &TypeSystemDefinitions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TypeSystemDefinitions
impl StructuralEq for TypeSystemDefinitions
impl StructuralPartialEq for TypeSystemDefinitions
Auto Trait Implementations§
impl RefUnwindSafe for TypeSystemDefinitions
impl Send for TypeSystemDefinitions
impl Sync for TypeSystemDefinitions
impl Unpin for TypeSystemDefinitions
impl UnwindSafe for TypeSystemDefinitions
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.