pub struct DivisionalStandings<H: StandingsHydrations> {
pub standings_type: StandingsType,
pub league_id: H::League,
pub division_id: H::Division,
pub sport_id: H::Sport,
pub last_updated: DateTime<Utc>,
pub team_records: Vec<TeamRecord<H>>,
}Expand description
TeamRecords per division. last_updated field might be useful for caching
Fields§
§standings_type: StandingsType§league_id: H::League§division_id: H::Division§sport_id: H::Sport§last_updated: DateTime<Utc>§team_records: Vec<TeamRecord<H>>Trait Implementations§
Source§impl<H: Clone + StandingsHydrations> Clone for DivisionalStandings<H>
impl<H: Clone + StandingsHydrations> Clone for DivisionalStandings<H>
Source§fn clone(&self) -> DivisionalStandings<H>
fn clone(&self) -> DivisionalStandings<H>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<H: Debug + StandingsHydrations> Debug for DivisionalStandings<H>
impl<H: Debug + StandingsHydrations> Debug for DivisionalStandings<H>
Source§impl<'de, H> Deserialize<'de> for DivisionalStandings<H>where
H: StandingsHydrations,
impl<'de, H> Deserialize<'de> for DivisionalStandings<H>where
H: StandingsHydrations,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<H: PartialEq + StandingsHydrations> PartialEq for DivisionalStandings<H>
impl<H: PartialEq + StandingsHydrations> PartialEq for DivisionalStandings<H>
impl<H: StandingsHydrations> StructuralPartialEq for DivisionalStandings<H>
Auto Trait Implementations§
impl<H> Freeze for DivisionalStandings<H>where
<H as StandingsHydrations>::League: Freeze,
<H as StandingsHydrations>::Division: Freeze,
<H as StandingsHydrations>::Sport: Freeze,
impl<H> RefUnwindSafe for DivisionalStandings<H>where
<H as StandingsHydrations>::League: RefUnwindSafe,
<H as StandingsHydrations>::Division: RefUnwindSafe,
<H as StandingsHydrations>::Sport: RefUnwindSafe,
<H as StandingsHydrations>::Team: RefUnwindSafe,
impl<H> Send for DivisionalStandings<H>where
<H as StandingsHydrations>::League: Send,
<H as StandingsHydrations>::Division: Send,
<H as StandingsHydrations>::Sport: Send,
<H as StandingsHydrations>::Team: Send,
impl<H> Sync for DivisionalStandings<H>where
<H as StandingsHydrations>::League: Sync,
<H as StandingsHydrations>::Division: Sync,
<H as StandingsHydrations>::Sport: Sync,
<H as StandingsHydrations>::Team: Sync,
impl<H> Unpin for DivisionalStandings<H>where
<H as StandingsHydrations>::League: Unpin,
<H as StandingsHydrations>::Division: Unpin,
<H as StandingsHydrations>::Sport: Unpin,
<H as StandingsHydrations>::Team: Unpin,
impl<H> UnsafeUnpin for DivisionalStandings<H>where
<H as StandingsHydrations>::League: UnsafeUnpin,
<H as StandingsHydrations>::Division: UnsafeUnpin,
<H as StandingsHydrations>::Sport: UnsafeUnpin,
impl<H> UnwindSafe for DivisionalStandings<H>where
<H as StandingsHydrations>::League: UnwindSafe,
<H as StandingsHydrations>::Division: UnwindSafe,
<H as StandingsHydrations>::Sport: UnwindSafe,
<H as StandingsHydrations>::Team: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more