pub struct StandingsResponse<H: StandingsHydrations> {
pub copyright: Copyright,
pub divisions: Vec<DivisionalStandings<H>>,
}Expand description
A Vec of DivisionalStandings
The request divides the league into its divisions and then the divisions into their teams.
Fields§
§copyright: Copyright§divisions: Vec<DivisionalStandings<H>>Trait Implementations§
Source§impl<H: Clone + StandingsHydrations> Clone for StandingsResponse<H>
impl<H: Clone + StandingsHydrations> Clone for StandingsResponse<H>
Source§fn clone(&self) -> StandingsResponse<H>
fn clone(&self) -> StandingsResponse<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 StandingsResponse<H>
impl<H: Debug + StandingsHydrations> Debug for StandingsResponse<H>
Source§impl<'de, H> Deserialize<'de> for StandingsResponse<H>where
H: StandingsHydrations,
impl<'de, H> Deserialize<'de> for StandingsResponse<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 StandingsResponse<H>
impl<H: PartialEq + StandingsHydrations> PartialEq for StandingsResponse<H>
impl<H: StandingsHydrations> StructuralPartialEq for StandingsResponse<H>
Auto Trait Implementations§
impl<H> Freeze for StandingsResponse<H>
impl<H> RefUnwindSafe for StandingsResponse<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 StandingsResponse<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 StandingsResponse<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 StandingsResponse<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 StandingsResponse<H>
impl<H> UnwindSafe for StandingsResponse<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