Enum apollo_compiler::schema::ComponentOrigin  
source · pub enum ComponentOrigin {
    Definition,
    Extension(ExtensionId),
}Variants§
Definition
Extension(ExtensionId)
Implementations§
source§impl ComponentOrigin
 
impl ComponentOrigin
pub fn extension_id(&self) -> Option<&ExtensionId>
Trait Implementations§
source§impl Clone for ComponentOrigin
 
impl Clone for ComponentOrigin
source§fn clone(&self) -> ComponentOrigin
 
fn clone(&self) -> ComponentOrigin
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 ComponentOrigin
 
impl Debug for ComponentOrigin
source§impl Hash for ComponentOrigin
 
impl Hash for ComponentOrigin
source§impl PartialEq for ComponentOrigin
 
impl PartialEq for ComponentOrigin
source§fn eq(&self, other: &ComponentOrigin) -> bool
 
fn eq(&self, other: &ComponentOrigin) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Eq for ComponentOrigin
impl StructuralEq for ComponentOrigin
impl StructuralPartialEq for ComponentOrigin
Auto Trait Implementations§
impl RefUnwindSafe for ComponentOrigin
impl Send for ComponentOrigin
impl Sync for ComponentOrigin
impl Unpin for ComponentOrigin
impl UnwindSafe for ComponentOrigin
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.