Struct apollo_compiler::ast::InterfaceTypeExtension
source · pub struct InterfaceTypeExtension {
pub name: Name,
pub implements_interfaces: Vec<Name>,
pub directives: Directives,
pub fields: Vec<Node<FieldDefinition>>,
}
Fields§
§name: Name
§implements_interfaces: Vec<Name>
§directives: Directives
§fields: Vec<Node<FieldDefinition>>
Implementations§
Trait Implementations§
source§impl Clone for InterfaceTypeExtension
impl Clone for InterfaceTypeExtension
source§fn clone(&self) -> InterfaceTypeExtension
fn clone(&self) -> InterfaceTypeExtension
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 InterfaceTypeExtension
impl Debug for InterfaceTypeExtension
source§impl Display for InterfaceTypeExtension
impl Display for InterfaceTypeExtension
Serialize to GraphQL syntax with the default configuration
source§impl Hash for InterfaceTypeExtension
impl Hash for InterfaceTypeExtension
source§impl PartialEq for InterfaceTypeExtension
impl PartialEq for InterfaceTypeExtension
source§fn eq(&self, other: &InterfaceTypeExtension) -> bool
fn eq(&self, other: &InterfaceTypeExtension) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InterfaceTypeExtension
impl StructuralEq for InterfaceTypeExtension
impl StructuralPartialEq for InterfaceTypeExtension
Auto Trait Implementations§
impl RefUnwindSafe for InterfaceTypeExtension
impl Send for InterfaceTypeExtension
impl Sync for InterfaceTypeExtension
impl Unpin for InterfaceTypeExtension
impl UnwindSafe for InterfaceTypeExtension
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.