Struct apollo_parser::ast::ObjectTypeDefinition  
source · [−]pub struct ObjectTypeDefinition { /* private fields */ }Implementations
sourceimpl ObjectTypeDefinition
 
impl ObjectTypeDefinition
pub fn description(&self) -> Option<Description>
pub fn type_token(&self) -> Option<SyntaxToken<GraphQLLanguage>>
pub fn name(&self) -> Option<Name>
pub fn implements_interfaces(&self) -> Option<ImplementsInterfaces>
pub fn directives(&self) -> Option<Directives>
pub fn fields_definition(&self) -> Option<FieldsDefinition>
Trait Implementations
sourceimpl AstNode for ObjectTypeDefinition
 
impl AstNode for ObjectTypeDefinition
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode<GraphQLLanguage>) -> Option<Self>
fn syntax(&self) -> &SyntaxNode<GraphQLLanguage>
fn clone_for_update(&self) -> Self where
    Self: Sized, 
fn clone_subtree(&self) -> Self where
    Self: Sized, 
sourceimpl Clone for ObjectTypeDefinition
 
impl Clone for ObjectTypeDefinition
sourcefn clone(&self) -> ObjectTypeDefinition
 
fn clone(&self) -> ObjectTypeDefinition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ObjectTypeDefinition
 
impl Debug for ObjectTypeDefinition
sourceimpl Display for ObjectTypeDefinition
 
impl Display for ObjectTypeDefinition
sourceimpl From<ObjectTypeDefinition> for Definition
 
impl From<ObjectTypeDefinition> for Definition
sourcefn from(node: ObjectTypeDefinition) -> Definition
 
fn from(node: ObjectTypeDefinition) -> Definition
Converts to this type from the input type.
sourceimpl Hash for ObjectTypeDefinition
 
impl Hash for ObjectTypeDefinition
sourceimpl PartialEq<ObjectTypeDefinition> for ObjectTypeDefinition
 
impl PartialEq<ObjectTypeDefinition> for ObjectTypeDefinition
sourcefn eq(&self, other: &ObjectTypeDefinition) -> bool
 
fn eq(&self, other: &ObjectTypeDefinition) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ObjectTypeDefinition) -> bool
 
fn ne(&self, other: &ObjectTypeDefinition) -> bool
This method tests for !=.
impl Eq for ObjectTypeDefinition
impl StructuralEq for ObjectTypeDefinition
impl StructuralPartialEq for ObjectTypeDefinition
Auto Trait Implementations
impl !RefUnwindSafe for ObjectTypeDefinition
impl !Send for ObjectTypeDefinition
impl !Sync for ObjectTypeDefinition
impl Unpin for ObjectTypeDefinition
impl !UnwindSafe for ObjectTypeDefinition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
    T: Clone, 
 
impl<T> ToOwned for T where
    T: Clone, 
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
 
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more