[][src]Trait speedruns::data::graphql::query_trails::QueryTrailGameExtensions

pub trait QueryTrailGameExtensions<'a, K> {
    fn id(&self) -> bool;
fn src_id(&self) -> bool;
fn slug(&self) -> bool;
fn src_slug(&self) -> bool;
fn name(&self) -> bool;
fn runs(&self) -> QueryTrail<'a, Run, NotWalked>;
fn game_categories(&self) -> QueryTrail<'a, Category, NotWalked>;
fn level_categories(&self) -> QueryTrail<'a, Category, NotWalked>;
fn levels(&self) -> QueryTrail<'a, Level, NotWalked>;
fn timing_method(&self) -> bool; }

Extension trait for QueryTrail to inspect incoming queries.

Required methods

fn id(&self) -> bool

Check if a scalar leaf node is queried for

Generated by juniper-from-schema.

fn src_id(&self) -> bool

Check if a scalar leaf node is queried for

Generated by juniper-from-schema.

fn slug(&self) -> bool

Check if a scalar leaf node is queried for

Generated by juniper-from-schema.

fn src_slug(&self) -> bool

Check if a scalar leaf node is queried for

Generated by juniper-from-schema.

fn name(&self) -> bool

Check if a scalar leaf node is queried for

Generated by juniper-from-schema.

fn runs(&self) -> QueryTrail<'a, Run, NotWalked>

Walk the trail into a field.

Generated by juniper-from-schema.

fn game_categories(&self) -> QueryTrail<'a, Category, NotWalked>

Walk the trail into a field.

Generated by juniper-from-schema.

fn level_categories(&self) -> QueryTrail<'a, Category, NotWalked>

Walk the trail into a field.

Generated by juniper-from-schema.

fn levels(&self) -> QueryTrail<'a, Level, NotWalked>

Walk the trail into a field.

Generated by juniper-from-schema.

fn timing_method(&self) -> bool

Check if a scalar leaf node is queried for

Generated by juniper-from-schema.

Loading content...

Implementors

impl<'a, K> QueryTrailGameExtensions<'a, K> for QueryTrail<'a, Game, K>[src]

Loading content...