Struct librespot_metadata::Episode [−][src]
pub struct Episode {
pub id: SpotifyId,
pub name: String,
pub external_url: String,
pub duration: i32,
pub language: String,
pub show: SpotifyId,
pub files: HashMap<FileFormat, FileId>,
pub covers: Vec<FileId>,
pub available: bool,
pub explicit: bool,
}Fields
id: SpotifyIdname: Stringexternal_url: Stringduration: i32language: Stringshow: SpotifyIdfiles: HashMap<FileFormat, FileId>covers: Vec<FileId>available: boolexplicit: boolTrait Implementations
impl Metadata for Episode[src]
impl Metadata for Episode[src]type Message = Episode
fn request_url(id: SpotifyId) -> String[src]
fn parse(msg: &Self::Message, session: &Session) -> Self[src]
#[must_use]fn get<'life0, 'async_trait>(
session: &'life0 Session,
id: SpotifyId
) -> Pin<Box<dyn Future<Output = Result<Self, MercuryError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait, [src]
#[must_use]
fn get<'life0, 'async_trait>(session: &'life0 Session,
id: SpotifyId
) -> Pin<Box<dyn Future<Output = Result<Self, MercuryError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl RefUnwindSafe for Episode
impl RefUnwindSafe for Episodeimpl UnwindSafe for Episode
impl UnwindSafe for Episode