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

pub trait QueryTrailRunExtensions<'a, K> {
    fn id(&self) -> bool;
fn src_id(&self) -> bool;
fn category(&self) -> QueryTrail<'a, Category, NotWalked>;
fn level(&self) -> QueryTrail<'a, Level, NotWalked>;
fn date(&self) -> bool;
fn players(&self) -> QueryTrail<'a, Player, NotWalked>;
fn time_ms(&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 category(&self) -> QueryTrail<'a, Category, NotWalked>

Walk the trail into a field.

Generated by juniper-from-schema.

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

Walk the trail into a field.

Generated by juniper-from-schema.

fn date(&self) -> bool

Check if a scalar leaf node is queried for

Generated by juniper-from-schema.

fn players(&self) -> QueryTrail<'a, Player, NotWalked>

Walk the trail into a field.

Generated by juniper-from-schema.

fn time_ms(&self) -> bool

Check if a scalar leaf node is queried for

Generated by juniper-from-schema.

Loading content...

Implementors

impl<'a, K> QueryTrailRunExtensions<'a, K> for QueryTrail<'a, Run, K>[src]

Loading content...