pub struct SeasonInfo {
pub regular_season_start_date: NaiveDate,
}Expand description
Season date boundaries fetched from the MLB seasons API.
Fields§
§regular_season_start_date: NaiveDateTrait Implementations§
Source§impl Clone for SeasonInfo
impl Clone for SeasonInfo
Source§fn clone(&self) -> SeasonInfo
fn clone(&self) -> SeasonInfo
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 Debug for SeasonInfo
impl Debug for SeasonInfo
Source§impl<'de> Deserialize<'de> for SeasonInfo
impl<'de> Deserialize<'de> for SeasonInfo
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
Auto Trait Implementations§
impl Freeze for SeasonInfo
impl RefUnwindSafe for SeasonInfo
impl Send for SeasonInfo
impl Sync for SeasonInfo
impl Unpin for SeasonInfo
impl UnsafeUnpin for SeasonInfo
impl UnwindSafe for SeasonInfo
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