[][src]Trait speedruns::data::graphql::GameFields

pub trait GameFields {
    fn field_id<'a>(&self, executor: &Executor<'a, Context>) -> ID;
fn field_src_id<'a>(&self, executor: &Executor<'a, Context>) -> String;
fn field_slug<'a>(&self, executor: &Executor<'a, Context>) -> &String;
fn field_src_slug<'a>(&self, executor: &Executor<'a, Context>) -> String;
fn field_name<'a>(&self, executor: &Executor<'a, Context>) -> &String;
fn field_runs<'a>(
        &self,
        executor: &Executor<'a, Context>,
        trail: &QueryTrail<'a, Run, Walked>
    ) -> Vec<Run>;
fn field_game_categories<'a>(
        &self,
        executor: &Executor<'a, Context>,
        trail: &QueryTrail<'a, Category, Walked>
    ) -> Vec<Category>;
fn field_level_categories<'a>(
        &self,
        executor: &Executor<'a, Context>,
        trail: &QueryTrail<'a, Category, Walked>
    ) -> Vec<Category>;
fn field_levels<'a>(
        &self,
        executor: &Executor<'a, Context>,
        trail: &QueryTrail<'a, Level, Walked>
    ) -> Vec<Level>;
fn field_timing_method<'a>(
        &self,
        executor: &Executor<'a, Context>
    ) -> TimingMethod; }

Trait for GraphQL field methods generated by juniper-from-schema.

Required methods

fn field_id<'a>(&self, executor: &Executor<'a, Context>) -> ID

Field method generated by juniper-from-schema.

fn field_src_id<'a>(&self, executor: &Executor<'a, Context>) -> String

Field method generated by juniper-from-schema.

fn field_slug<'a>(&self, executor: &Executor<'a, Context>) -> &String

Field method generated by juniper-from-schema.

fn field_src_slug<'a>(&self, executor: &Executor<'a, Context>) -> String

Field method generated by juniper-from-schema.

fn field_name<'a>(&self, executor: &Executor<'a, Context>) -> &String

Field method generated by juniper-from-schema.

fn field_runs<'a>(
    &self,
    executor: &Executor<'a, Context>,
    trail: &QueryTrail<'a, Run, Walked>
) -> Vec<Run>

Field method generated by juniper-from-schema.

fn field_game_categories<'a>(
    &self,
    executor: &Executor<'a, Context>,
    trail: &QueryTrail<'a, Category, Walked>
) -> Vec<Category>

Field method generated by juniper-from-schema.

fn field_level_categories<'a>(
    &self,
    executor: &Executor<'a, Context>,
    trail: &QueryTrail<'a, Category, Walked>
) -> Vec<Category>

Field method generated by juniper-from-schema.

fn field_levels<'a>(
    &self,
    executor: &Executor<'a, Context>,
    trail: &QueryTrail<'a, Level, Walked>
) -> Vec<Level>

Field method generated by juniper-from-schema.

fn field_timing_method<'a>(
    &self,
    executor: &Executor<'a, Context>
) -> TimingMethod

Field method generated by juniper-from-schema.

Loading content...

Implementors

impl GameFields for Game[src]

Loading content...