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

pub trait CategoryFields {
    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_levels<'a>(
        &self,
        executor: &Executor<'a, Context>,
        trail: &QueryTrail<'a, CategoryLevel, Walked>
    ) -> Vec<CategoryLevel>;
fn field_leaderboard<'a>(
        &self,
        executor: &Executor<'a, Context>,
        trail: &QueryTrail<'a, LeaderboardRun, Walked>,
        level_slug: Option<String>,
        include_obsolete: bool,
        limit: Option<i32>
    ) -> Vec<LeaderboardRun>;
fn field_progression<'a>(
        &self,
        executor: &Executor<'a, Context>,
        trail: &QueryTrail<'a, ProgressionRun, Walked>,
        level_slug: Option<String>,
        include_ties: bool
    ) -> Vec<ProgressionRun>; }

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_levels<'a>(
    &self,
    executor: &Executor<'a, Context>,
    trail: &QueryTrail<'a, CategoryLevel, Walked>
) -> Vec<CategoryLevel>

Field method generated by juniper-from-schema.

fn field_leaderboard<'a>(
    &self,
    executor: &Executor<'a, Context>,
    trail: &QueryTrail<'a, LeaderboardRun, Walked>,
    level_slug: Option<String>,
    include_obsolete: bool,
    limit: Option<i32>
) -> Vec<LeaderboardRun>

Field method generated by juniper-from-schema.

fn field_progression<'a>(
    &self,
    executor: &Executor<'a, Context>,
    trail: &QueryTrail<'a, ProgressionRun, Walked>,
    level_slug: Option<String>,
    include_ties: bool
) -> Vec<ProgressionRun>

Field method generated by juniper-from-schema.

Loading content...

Implementors

impl CategoryFields for Category[src]

Loading content...