[−][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: Option<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 Debug for Episode
[src]
impl<'de> Deserialize<'de> for Episode
[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 Episode
[src]
impl Send for Episode
[src]
impl Sync for Episode
[src]
impl Unpin for Episode
[src]
impl UnwindSafe for Episode
[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>,