Struct graphgate_schema::MetaType [−][src]
Fields
description: Option<String>name: Namekind: TypeKindowner: Option<String>keys: HashMap<String, Vec<KeyFields>>is_introspection: boolimplements: IndexSet<Name>fields: IndexMap<Name, MetaField>possible_types: IndexSet<Name>enum_values: IndexMap<Name, MetaEnumValue>input_fields: IndexMap<Name, MetaInputValue>Implementations
impl MetaType[src]
pub fn field_by_name(&self, name: &str) -> Option<&MetaField>[src]
pub fn is_composite(&self) -> bool[src]
pub fn is_abstract(&self) -> bool[src]
pub fn is_leaf(&self) -> bool[src]
pub fn is_input(&self) -> bool[src]
pub fn is_possible_type(&self, type_name: &str) -> bool[src]
pub fn type_overlap(&self, ty: &MetaType) -> bool[src]
Trait Implementations
impl Debug for MetaType[src]
impl Eq for MetaType[src]
impl PartialEq<MetaType> for MetaType[src]
impl StructuralEq for MetaType[src]
impl StructuralPartialEq for MetaType[src]
Auto Trait Implementations
impl RefUnwindSafe for MetaType
impl Send for MetaType
impl Sync for MetaType
impl Unpin for MetaType
impl UnwindSafe for MetaType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,