Skip to main content

MetaKind

Trait MetaKind 

Source
pub trait MetaKind {
    type Complete: Debug + DeserializeOwned + Eq + Clone;

    const ENDPOINT_NAME: &'static str;
}

Required Associated Constants§

Source

const ENDPOINT_NAME: &'static str

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl MetaKind for GameType

Source§

const ENDPOINT_NAME: &'static str = "gameTypes"

Source§

type Complete = GameType

Source§

impl MetaKind for HitTrajectory

Source§

const ENDPOINT_NAME: &'static str = "hitTrajectories"

Source§

type Complete = HitTrajectory

Source§

impl MetaKind for RosterType

Source§

const ENDPOINT_NAME: &'static str = "rosterTypes"

Source§

type Complete = RosterType

Source§

impl MetaKind for StatGroup

Source§

const ENDPOINT_NAME: &'static str = "statGroups"

Source§

type Complete = StatGroup

Source§

impl MetaKind for BaseballStat

Source§

const ENDPOINT_NAME: &'static str = "baseballStats"

Source§

type Complete = BaseballStat

Source§

impl MetaKind for EventType

Source§

const ENDPOINT_NAME: &'static str = "eventTypes"

Source§

type Complete = EventType

Source§

impl MetaKind for GameStatus

Source§

const ENDPOINT_NAME: &'static str = "gameStatus"

Source§

type Complete = GameStatus

Source§

impl MetaKind for JobType

Source§

const ENDPOINT_NAME: &'static str = "jobTypes"

Source§

type Complete = JobType

Source§

impl MetaKind for Language

Source§

const ENDPOINT_NAME: &'static str = "languages"

Source§

type Complete = Language

Source§

impl MetaKind for LeagueLeaderTypeId

Source§

const ENDPOINT_NAME: &'static str = "leagueLeaderTypes"

Source§

type Complete = LeagueLeaderTypeId

Source§

impl MetaKind for LogicalEventId

Source§

const ENDPOINT_NAME: &'static str = "logicalEvents"

Source§

type Complete = LogicalEventId

Source§

impl MetaKind for Metric

Source§

const ENDPOINT_NAME: &'static str = "metrics"

Source§

type Complete = Metric

Source§

impl MetaKind for PitchCode

Source§

const ENDPOINT_NAME: &'static str = "pitchCodes"

Source§

type Complete = PitchCode

Source§

impl MetaKind for PitchType

Source§

const ENDPOINT_NAME: &'static str = "pitchTypes"

Source§

type Complete = PitchType

Source§

impl MetaKind for Platform

Source§

const ENDPOINT_NAME: &'static str = "platforms"

Source§

type Complete = Platform

Source§

impl MetaKind for Position

Source§

const ENDPOINT_NAME: &'static str = "positions"

Source§

type Complete = Position

Source§

impl MetaKind for ReviewReason

Source§

const ENDPOINT_NAME: &'static str = "reviewReasons"

Source§

type Complete = ReviewReason

Source§

impl MetaKind for ScheduleEventType

Source§

const ENDPOINT_NAME: &'static str = "scheduleEventTypes"

Source§

type Complete = ScheduleEventType

Source§

impl MetaKind for SituationCode

Source§

const ENDPOINT_NAME: &'static str = "situationCodes"

Source§

type Complete = SituationCode

Source§

impl MetaKind for SkyDescription

Source§

impl MetaKind for StandingsType

Source§

const ENDPOINT_NAME: &'static str = "standingsTypes"

Source§

type Complete = StandingsType

Source§

impl MetaKind for StatType

Source§

const ENDPOINT_NAME: &'static str = "statTypes"

Source§

type Complete = StatType

Source§

impl MetaKind for WindDirection

Source§

const ENDPOINT_NAME: &'static str = "windDirection"

Source§

type Complete = WindDirection