Struct rspotify_model::show::SimplifiedEpisode
source · [−]pub struct SimplifiedEpisode {Show 16 fields
pub audio_preview_url: Option<String>,
pub description: String,
pub duration: Duration,
pub explicit: bool,
pub external_urls: HashMap<String, String>,
pub href: String,
pub id: EpisodeId,
pub images: Vec<Image>,
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: DatePrecision,
pub resume_point: Option<ResumePoint>,
}
Expand description
Simplified episode object
Fields
audio_preview_url: Option<String>
description: String
duration: Duration
explicit: bool
external_urls: HashMap<String, String>
href: String
id: EpisodeId
images: Vec<Image>
is_externally_hosted: bool
is_playable: bool
language: String
👎 Deprecated:
This language
field is deprecated and might be removed in the future by Spotify. Please use the languages field instead
languages: Vec<String>
name: String
release_date: String
release_date_precision: DatePrecision
resume_point: Option<ResumePoint>
Trait Implementations
sourceimpl Clone for SimplifiedEpisode
impl Clone for SimplifiedEpisode
sourcefn clone(&self) -> SimplifiedEpisode
fn clone(&self) -> SimplifiedEpisode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SimplifiedEpisode
impl Debug for SimplifiedEpisode
sourceimpl<'de> Deserialize<'de> for SimplifiedEpisode
impl<'de> Deserialize<'de> for SimplifiedEpisode
sourcefn 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
sourceimpl PartialEq<SimplifiedEpisode> for SimplifiedEpisode
impl PartialEq<SimplifiedEpisode> for SimplifiedEpisode
sourcefn eq(&self, other: &SimplifiedEpisode) -> bool
fn eq(&self, other: &SimplifiedEpisode) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SimplifiedEpisode) -> bool
fn ne(&self, other: &SimplifiedEpisode) -> bool
This method tests for !=
.
sourceimpl Serialize for SimplifiedEpisode
impl Serialize for SimplifiedEpisode
impl Eq for SimplifiedEpisode
impl StructuralEq for SimplifiedEpisode
impl StructuralPartialEq for SimplifiedEpisode
Auto Trait Implementations
impl RefUnwindSafe for SimplifiedEpisode
impl Send for SimplifiedEpisode
impl Sync for SimplifiedEpisode
impl Unpin for SimplifiedEpisode
impl UnwindSafe for SimplifiedEpisode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more