[−][src]Struct roosterteeth_rs::structs::episodes::Episode
The Episodes struct is a strongly typed wrapper of the episodes endpoint. The full json format can be explored in your browser here, or explore the object's fields below.
Most fields should have an example provided below, shown in the raw JSON format.
Fields
index: String
Kind is a renamed reference to the type of object the metadata is describing, in this context it will always be episode.
"type": "episode"
sort: Vec<u64>
Though stored as a vector, sort can be treated as an Option
"sort": [ 10001 ]
id: u32
The ID is the overall numeric identifier of the episode, ever increasing.
"id": 23242
kind: String
Index appears to be the timestamp the metadata was generated at.
"_index": "episodes-production-en_20200108090014250"
uuid: String
The UUID is a unique reference to an episode similar to it's slug.
"uuid": "ffac28dc-464d-11e7-a302-065410f210c4"
attributes: Attributes
links: Links
canonical_links: CanonicalLinks
included: Included
Trait Implementations
impl<'de> Deserialize<'de> for Episode
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Episode
impl Send for Episode
impl Sync for Episode
impl Unpin for Episode
impl UnwindSafe for Episode
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[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.
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>,