pub struct ObjectTypeExtension<'a, T>where
T: Text<'a>,{
pub position: Pos,
pub name: <T as Text<'a>>::Value,
pub implements_interfaces: Vec<<T as Text<'a>>::Value>,
pub directives: Vec<Directive<'a, T>>,
pub fields: Vec<Field<'a, T>>,
}
Fields§
§position: Pos
§name: <T as Text<'a>>::Value
§implements_interfaces: Vec<<T as Text<'a>>::Value>
§directives: Vec<Directive<'a, T>>
§fields: Vec<Field<'a, T>>
Implementations§
Source§impl<'a, T> ObjectTypeExtension<'a, T>where
T: Text<'a>,
impl<'a, T> ObjectTypeExtension<'a, T>where
T: Text<'a>,
pub fn new(name: <T as Text<'a>>::Value) -> ObjectTypeExtension<'a, T>
Trait Implementations§
Source§impl<'a, T> Clone for ObjectTypeExtension<'a, T>
impl<'a, T> Clone for ObjectTypeExtension<'a, T>
Source§fn clone(&self) -> ObjectTypeExtension<'a, T>
fn clone(&self) -> ObjectTypeExtension<'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> Debug for ObjectTypeExtension<'a, T>
impl<'a, T> Debug for ObjectTypeExtension<'a, T>
Source§impl<'a, T> Display for ObjectTypeExtension<'a, T>where
T: Text<'a>,
impl<'a, T> Display for ObjectTypeExtension<'a, T>where
T: Text<'a>,
Source§impl<'a, T> PartialEq for ObjectTypeExtension<'a, T>
impl<'a, T> PartialEq for ObjectTypeExtension<'a, T>
impl<'a, T> StructuralPartialEq for ObjectTypeExtension<'a, T>where
T: Text<'a>,
Auto Trait Implementations§
impl<'a, T> Freeze for ObjectTypeExtension<'a, T>
impl<'a, T> RefUnwindSafe for ObjectTypeExtension<'a, T>
impl<'a, T> Send for ObjectTypeExtension<'a, T>
impl<'a, T> Sync for ObjectTypeExtension<'a, T>
impl<'a, T> Unpin for ObjectTypeExtension<'a, T>
impl<'a, T> UnwindSafe for ObjectTypeExtension<'a, T>
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