[−][src]Struct roosterteeth_rs::structs::episodes::Attributes
Most elements here will be fairly self-documenting.
Fields
title: String
"title": "Episode 1: Why Are We Here?"
slug: String
The url suffix of the episode, will be unique.
"slug": "red-vs-blue-season-1-episode-1"
"caption": "Why Are We Here?"
number: u16
"number": 1
description: String
"description": "The first episode of Red... why are we here"
display_title: String
"display_title": "S1:E1 - Episode 1: Why Are We Here?"
length: u32
The length of the episode in seconds
"length": 256
advert_config: String
advertising: bool
ad_timestamps: Option<String>
Comma seperated timestamps for valid ad placements
"ad_timestamps": "60.00,120.00,180.00"
public_golive_at: DateTime<FixedOffset>
Technically the API returns a ISO 8601 compliant datetime, however the API uses Chrono to make interacting with the datetime more convenient.
sponsor_golive_at: DateTime<FixedOffset>
member_golive_at: DateTime<FixedOffset>
original_air_date: DateTime<FixedOffset>
channel_id: String
"channel_id": "92b6bb21-91d2-4b1b-bf95-3268fa0d9939"
``
channel_slug: String
"channel_slug": "rooster-teeth"
season_id: String
"season_id": "ffa11de8-464d-11e7-a302-065410f210c4"
season_slug: String
"season_slug": "red-vs-blue-season-1"
season_number: u16
"season_number": 1
show_title: String
"show_title": "Red vs. Blue"
show_id: String
"show_id": "ff925ff9-464d-11e7-a302-065410f210c4"
show_slug: String
"show_slug": "red-vs-blue"
is_sponsors_only: bool
"is_sponsors_only": false
member_tier_i: i8
"member_tier_1": -1
sort_number: u32
"sort_number": 10001
genres: Vec<String>
genres: ["Action Packed", "Full of Laughs", "Games Reimagined", "Classic Rooster Teeth", "Rooster Teeth Originals"]
is_live: bool
"is_live": true
is_schedulable: bool
This endpoint is likely used to create the video list for RT-TV.
"is_schedulable": true
season_order: String
Default sorting, will either be "asc" or "desc"
"season_order": "desc"
episode_order: String
"episode_order": "asc"
downloadable: bool
Determines whether the video endpoint will have a links.download element.
"downloadable": true
blacklisted_countries: Vec<String>
"blacklisted_countries": []
upsell_next: bool
"upsell_next": false
Trait Implementations
impl Debug for Attributes
[src]
impl<'de> Deserialize<'de> for Attributes
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Attributes
[src]
impl Send for Attributes
[src]
impl Sync for Attributes
[src]
impl Unpin for Attributes
[src]
impl UnwindSafe for Attributes
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,