pub struct SeriesSummary {
pub id: String,
pub title: Option<String>,
pub slug: Option<String>,
pub event_dates: Vec<String>,
pub event_weeks: Vec<i64>,
pub earliest_open_week: Option<i64>,
pub earliest_open_date: Option<String>,
}Expand description
Abridged series payload returned from /series-summary/*.
Note the mixed casing: eventDates / eventWeeks are camelCase while
earliest_open_week / earliest_open_date are snake_case in the upstream
response, so this struct does not use #[serde(rename_all = "camelCase")]
and instead spells each field out explicitly.
Fields§
§id: String§title: Option<String>§slug: Option<String>§event_dates: Vec<String>§event_weeks: Vec<i64>§earliest_open_week: Option<i64>§earliest_open_date: Option<String>Trait Implementations§
Source§impl Clone for SeriesSummary
impl Clone for SeriesSummary
Source§fn clone(&self) -> SeriesSummary
fn clone(&self) -> SeriesSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SeriesSummary
impl Debug for SeriesSummary
Source§impl<'de> Deserialize<'de> for SeriesSummary
impl<'de> Deserialize<'de> for SeriesSummary
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 PartialEq for SeriesSummary
impl PartialEq for SeriesSummary
Source§impl Serialize for SeriesSummary
impl Serialize for SeriesSummary
impl StructuralPartialEq for SeriesSummary
Auto Trait Implementations§
impl Freeze for SeriesSummary
impl RefUnwindSafe for SeriesSummary
impl Send for SeriesSummary
impl Sync for SeriesSummary
impl Unpin for SeriesSummary
impl UnsafeUnpin for SeriesSummary
impl UnwindSafe for SeriesSummary
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