Struct graphql_parser::schema::InterfaceTypeExtension
source · pub struct InterfaceTypeExtension<'a, T: Text<'a>> {
pub position: Pos,
pub name: T::Value,
pub directives: Vec<Directive<'a, T>>,
pub fields: Vec<Field<'a, T>>,
}
Fields§
§position: Pos
§name: T::Value
§directives: Vec<Directive<'a, T>>
§fields: Vec<Field<'a, T>>
Implementations§
Trait Implementations§
source§impl<'a, T: Clone + Text<'a>> Clone for InterfaceTypeExtension<'a, T>where
T::Value: Clone,
impl<'a, T: Clone + Text<'a>> Clone for InterfaceTypeExtension<'a, T>where T::Value: Clone,
source§fn clone(&self) -> InterfaceTypeExtension<'a, T>
fn clone(&self) -> InterfaceTypeExtension<'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 moresource§impl<'a, T> Display for InterfaceTypeExtension<'a, T>where
T: Text<'a>,
impl<'a, T> Display for InterfaceTypeExtension<'a, T>where T: Text<'a>,
source§impl<'a, T: PartialEq + Text<'a>> PartialEq for InterfaceTypeExtension<'a, T>where
T::Value: PartialEq,
impl<'a, T: PartialEq + Text<'a>> PartialEq for InterfaceTypeExtension<'a, T>where T::Value: PartialEq,
source§fn eq(&self, other: &InterfaceTypeExtension<'a, T>) -> bool
fn eq(&self, other: &InterfaceTypeExtension<'a, T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a, T: Text<'a>> StructuralPartialEq for InterfaceTypeExtension<'a, T>
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for InterfaceTypeExtension<'a, T>where <T as Text<'a>>::Value: RefUnwindSafe,
impl<'a, T> Send for InterfaceTypeExtension<'a, T>where <T as Text<'a>>::Value: Send,
impl<'a, T> Sync for InterfaceTypeExtension<'a, T>where <T as Text<'a>>::Value: Sync,
impl<'a, T> Unpin for InterfaceTypeExtension<'a, T>where <T as Text<'a>>::Value: Unpin,
impl<'a, T> UnwindSafe for InterfaceTypeExtension<'a, T>where <T as Text<'a>>::Value: UnwindSafe,
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