pub struct IntrospectionSchema<'a> {
pub query_type: Option<IntrospectionNamedTypeRef<'a>>,
pub mutation_type: Option<IntrospectionNamedTypeRef<'a>>,
pub subscription_type: Option<IntrospectionNamedTypeRef<'a>>,
pub types: Vec<IntrospectionType<'a>>,
pub directives: Option<Vec<IntrospectionDirective<'a>>>,
}
Fields§
§query_type: Option<IntrospectionNamedTypeRef<'a>>
§mutation_type: Option<IntrospectionNamedTypeRef<'a>>
§subscription_type: Option<IntrospectionNamedTypeRef<'a>>
§types: Vec<IntrospectionType<'a>>
§directives: Option<Vec<IntrospectionDirective<'a>>>
Trait Implementations§
Source§impl<'arena> BuildClientSchema<'arena> for IntrospectionSchema<'arena>
impl<'arena> BuildClientSchema<'arena> for IntrospectionSchema<'arena>
Source§fn build_client_schema(&self, ctx: &'arena ASTContext) -> &'arena Schema<'arena>
fn build_client_schema(&self, ctx: &'arena ASTContext) -> &'arena Schema<'arena>
Converts the introspected data to a Schema.
Source§impl<'a> Debug for IntrospectionSchema<'a>
impl<'a> Debug for IntrospectionSchema<'a>
Source§impl<'a> Default for IntrospectionSchema<'a>
impl<'a> Default for IntrospectionSchema<'a>
Source§fn default() -> IntrospectionSchema<'a>
fn default() -> IntrospectionSchema<'a>
Returns the “default value” for a type. Read more
Source§impl<'de: 'a, 'a> Deserialize<'de> for IntrospectionSchema<'a>
impl<'de: 'a, 'a> Deserialize<'de> for IntrospectionSchema<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for IntrospectionSchema<'a>
impl<'a> RefUnwindSafe for IntrospectionSchema<'a>
impl<'a> Send for IntrospectionSchema<'a>
impl<'a> Sync for IntrospectionSchema<'a>
impl<'a> Unpin for IntrospectionSchema<'a>
impl<'a> UnwindSafe for IntrospectionSchema<'a>
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