[−][src]Trait craftql::extend_types::ExtendType
Trait providing extension methods for graphql_parser::schema.
Required methods
fn get_dependencies(&self) -> Vec<String>
Method to get the dependencies.
fn get_id_and_name(&self) -> (Option<String>, String)
Method to get id and the name, id is optional and can be copied from name.
fn get_mapped_type(&self) -> GraphQL
Method to get the internal GraphQL mapped type.
fn get_raw(&self) -> String
Method to get the raw representation.
Implementations on Foreign Types
impl<'a, T> ExtendType for TypeDefinition<'a, T> where
T: Text<'a>,
[src]
T: Text<'a>,
fn get_dependencies(&self) -> Vec<String>
[src]
fn get_id_and_name(&self) -> (Option<String>, String)
[src]
fn get_mapped_type(&self) -> GraphQL
[src]
fn get_raw(&self) -> String
[src]
impl<'a, T> ExtendType for TypeExtension<'a, T> where
T: Text<'a>,
[src]
T: Text<'a>,
fn get_dependencies(&self) -> Vec<String>
[src]
fn get_id_and_name(&self) -> (Option<String>, String)
[src]
fn get_mapped_type(&self) -> GraphQL
[src]
fn get_raw(&self) -> String
[src]
impl<'a, T> ExtendType for SchemaDefinition<'a, T> where
T: Text<'a>,
[src]
T: Text<'a>,
fn get_dependencies(&self) -> Vec<String>
[src]
fn get_id_and_name(&self) -> (Option<String>, String)
[src]
fn get_mapped_type(&self) -> GraphQL
[src]
fn get_raw(&self) -> String
[src]
impl<'a, T> ExtendType for DirectiveDefinition<'a, T> where
T: Text<'a>,
[src]
T: Text<'a>,