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

pub trait ProgressionRunFields {
    fn field_progress_ms<'a>(&self, executor: &Executor<'a, Context>) -> i32;
fn field_run<'a>(
        &self,
        executor: &Executor<'a, Context>,
        trail: &QueryTrail<'a, Run, Walked>
    ) -> Run;
fn field_leaderboard_run<'a>(
        &self,
        executor: &Executor<'a, Context>,
        trail: &QueryTrail<'a, LeaderboardRun, Walked>
    ) -> Option<LeaderboardRun>; }

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

Required methods

fn field_progress_ms<'a>(&self, executor: &Executor<'a, Context>) -> i32

Field method generated by juniper-from-schema.

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

Field method generated by juniper-from-schema.

fn field_leaderboard_run<'a>(
    &self,
    executor: &Executor<'a, Context>,
    trail: &QueryTrail<'a, LeaderboardRun, Walked>
) -> Option<LeaderboardRun>

Field method generated by juniper-from-schema.

Loading content...

Implementors

impl ProgressionRunFields for ProgressionRun[src]

Loading content...