pub struct TeamsResponse<H: TeamHydrations> {
pub copyright: Copyright,
pub teams: Vec<Team<H>>,
}Fields§
§copyright: Copyright§teams: Vec<Team<H>>Trait Implementations§
Source§impl<H: Clone + TeamHydrations> Clone for TeamsResponse<H>
impl<H: Clone + TeamHydrations> Clone for TeamsResponse<H>
Source§fn clone(&self) -> TeamsResponse<H>
fn clone(&self) -> TeamsResponse<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 + TeamHydrations> Debug for TeamsResponse<H>
impl<H: Debug + TeamHydrations> Debug for TeamsResponse<H>
Source§impl<'de, H> Deserialize<'de> for TeamsResponse<H>where
H: TeamHydrations,
impl<'de, H> Deserialize<'de> for TeamsResponse<H>where
H: TeamHydrations,
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 + TeamHydrations> PartialEq for TeamsResponse<H>
impl<H: PartialEq + TeamHydrations> PartialEq for TeamsResponse<H>
impl<H: TeamHydrations> StructuralPartialEq for TeamsResponse<H>
Auto Trait Implementations§
impl<H> Freeze for TeamsResponse<H>
impl<H> RefUnwindSafe for TeamsResponse<H>where
<H as TeamHydrations>::Venue: RefUnwindSafe,
<H as TeamHydrations>::League: RefUnwindSafe,
<H as TeamHydrations>::Sport: RefUnwindSafe,
H: RefUnwindSafe,
<H as TeamHydrations>::Division: RefUnwindSafe,
<H as TeamHydrations>::SpringVenue: RefUnwindSafe,
impl<H> Send for TeamsResponse<H>where
<H as TeamHydrations>::Venue: Send,
<H as TeamHydrations>::League: Send,
<H as TeamHydrations>::Sport: Send,
H: Send,
<H as TeamHydrations>::Division: Send,
<H as TeamHydrations>::SpringVenue: Send,
impl<H> Sync for TeamsResponse<H>where
<H as TeamHydrations>::Venue: Sync,
<H as TeamHydrations>::League: Sync,
<H as TeamHydrations>::Sport: Sync,
H: Sync,
<H as TeamHydrations>::Division: Sync,
<H as TeamHydrations>::SpringVenue: Sync,
impl<H> Unpin for TeamsResponse<H>where
<H as TeamHydrations>::Venue: Unpin,
<H as TeamHydrations>::League: Unpin,
<H as TeamHydrations>::Sport: Unpin,
H: Unpin,
<H as TeamHydrations>::Division: Unpin,
<H as TeamHydrations>::SpringVenue: Unpin,
impl<H> UnsafeUnpin for TeamsResponse<H>
impl<H> UnwindSafe for TeamsResponse<H>where
<H as TeamHydrations>::Venue: UnwindSafe,
<H as TeamHydrations>::League: UnwindSafe,
<H as TeamHydrations>::Sport: UnwindSafe,
H: UnwindSafe,
<H as TeamHydrations>::Division: UnwindSafe,
<H as TeamHydrations>::SpringVenue: 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