pub struct SimplifiedEpisodeObject {Show 20 fields
pub audio_preview_url: String,
pub description: String,
pub duration_ms: usize,
pub explicit: bool,
pub external_urls: ExternalUrlObject,
pub href: String,
pub html_description: String,
pub id: String,
pub images: Vec<ImageObject>,
pub is_externally_hosted: bool,
pub is_playable: bool,
pub language: String,
pub languages: Vec<String>,
pub name: String,
pub release_date: String,
pub release_date_precision: String,
pub restrictions: EpisodeRestrictionObject,
pub resume_point: ResumePointObject,
pub _type: String,
pub uri: String,
}
Expand description
Fields§
§audio_preview_url: String
A URL to a 30 second preview (MP3 format) of the episode. null
if not available.
description: String
A description of the episode. HTML tags are stripped away from this field, use html_description
field in case HTML tags are needed.
duration_ms: usize
The episode length in milliseconds.
explicit: bool
Whether or not the episode has explicit content (true = yes it does; false = no it does not OR unknown).
external_urls: ExternalUrlObject
External URLs for this episode.
href: String
A link to the Web API endpoint providing full details of the episode.
html_description: String
A description of the episode. This field may contain HTML tags.
id: String
The Spotify ID for the episode.
images: Vec<ImageObject>
The cover art for the episode in various sizes, widest first.
is_externally_hosted: bool
True if the episode is hosted outside of Spotify’s CDN.
is_playable: bool
True if the episode is playable in the given market. Otherwise false.
language: String
Note: This field is deprecated and might be removed in the future. Please use the languages field instead. The language used in the episode, identified by a ISO 639 code.
languages: Vec<String>
A list of the languages used in the episode, identified by their ISO 639 code.
name: String
The name of the episode.
release_date: String
The date the episode was first released, for example "1981-12-15"
. Depending on the precision, it might be shown as "1981"
or "1981-12"
.
release_date_precision: String
The precision with which release_date
value is known: "year"
, "month"
, or "day"
.
restrictions: EpisodeRestrictionObject
Included in the response when a content restriction is applied. See Restriction Object for more details.
resume_point: ResumePointObject
The user’s most recent position in the episode. Set if the supplied access token is a user token and has the scope user-read-playback-position
.
_type: String
The object type: “episode”.
uri: String
The Spotify URI for the episode.
Trait Implementations§
Source§impl Clone for SimplifiedEpisodeObject
impl Clone for SimplifiedEpisodeObject
Source§fn clone(&self) -> SimplifiedEpisodeObject
fn clone(&self) -> SimplifiedEpisodeObject
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SimplifiedEpisodeObject
impl Debug for SimplifiedEpisodeObject
Source§impl<'de> Deserialize<'de> for SimplifiedEpisodeObject
impl<'de> Deserialize<'de> for SimplifiedEpisodeObject
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>,
Source§impl PartialEq for SimplifiedEpisodeObject
impl PartialEq for SimplifiedEpisodeObject
Source§impl Serialize for SimplifiedEpisodeObject
impl Serialize for SimplifiedEpisodeObject
impl Eq for SimplifiedEpisodeObject
impl StructuralPartialEq for SimplifiedEpisodeObject
Auto Trait Implementations§
impl Freeze for SimplifiedEpisodeObject
impl RefUnwindSafe for SimplifiedEpisodeObject
impl Send for SimplifiedEpisodeObject
impl Sync for SimplifiedEpisodeObject
impl Unpin for SimplifiedEpisodeObject
impl UnwindSafe for SimplifiedEpisodeObject
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.