Struct termusiclib::podcast::Episode
source · pub struct Episode {
pub id: i64,
pub pod_id: i64,
pub title: String,
pub url: String,
pub guid: String,
pub description: String,
pub pubdate: Option<DateTime<Utc>>,
pub duration: Option<i64>,
pub path: Option<PathBuf>,
pub played: bool,
pub last_position: Option<i64>,
pub image_url: Option<String>,
}Expand description
Struct holding data about an individual podcast episode. Most of this
is metadata, but if the episode has been downloaded to the local
machine, the filepath will be included here as well. played
indicates whether the podcast has been marked as played or unplayed.
Fields§
§id: i64§pod_id: i64§title: String§url: String§guid: String§description: String§pubdate: Option<DateTime<Utc>>§duration: Option<i64>§path: Option<PathBuf>§played: bool§last_position: Option<i64>§image_url: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Episode
impl RefUnwindSafe for Episode
impl Send for Episode
impl Sync for Episode
impl Unpin for Episode
impl UnwindSafe for Episode
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
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().