Struct apollo_compiler::ast::InterfaceTypeDefinition
source · pub struct InterfaceTypeDefinition {
pub description: Option<NodeStr>,
pub name: Name,
pub implements_interfaces: Vec<Name>,
pub directives: Directives,
pub fields: Vec<Node<FieldDefinition>>,
}
Fields§
§description: Option<NodeStr>
§name: Name
§implements_interfaces: Vec<Name>
§directives: Directives
§fields: Vec<Node<FieldDefinition>>
Implementations§
Trait Implementations§
source§impl Clone for InterfaceTypeDefinition
impl Clone for InterfaceTypeDefinition
source§fn clone(&self) -> InterfaceTypeDefinition
fn clone(&self) -> InterfaceTypeDefinition
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 InterfaceTypeDefinition
impl Debug for InterfaceTypeDefinition
source§impl Display for InterfaceTypeDefinition
impl Display for InterfaceTypeDefinition
Serialize to GraphQL syntax with the default configuration
source§impl Hash for InterfaceTypeDefinition
impl Hash for InterfaceTypeDefinition
source§impl PartialEq for InterfaceTypeDefinition
impl PartialEq for InterfaceTypeDefinition
source§fn eq(&self, other: &InterfaceTypeDefinition) -> bool
fn eq(&self, other: &InterfaceTypeDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InterfaceTypeDefinition
impl StructuralEq for InterfaceTypeDefinition
impl StructuralPartialEq for InterfaceTypeDefinition
Auto Trait Implementations§
impl RefUnwindSafe for InterfaceTypeDefinition
impl Send for InterfaceTypeDefinition
impl Sync for InterfaceTypeDefinition
impl Unpin for InterfaceTypeDefinition
impl UnwindSafe for InterfaceTypeDefinition
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.