Struct termusiclib::podcast::Podcast
source · pub struct Podcast {
pub id: i64,
pub title: String,
pub sort_title: String,
pub url: String,
pub description: Option<String>,
pub author: Option<String>,
pub explicit: Option<bool>,
pub last_checked: DateTime<Utc>,
pub episodes: Vec<Episode>,
pub image_url: Option<String>,
}Expand description
Struct holding data about an individual podcast feed. This includes a (possibly empty) vector of episodes.
Fields§
§id: i64§title: String§sort_title: String§url: String§description: Option<String>§explicit: Option<bool>§last_checked: DateTime<Utc>§episodes: Vec<Episode>§image_url: Option<String>Implementations§
Trait Implementations§
source§impl Ord for Podcast
impl Ord for Podcast
source§impl PartialEq for Podcast
impl PartialEq for Podcast
source§impl PartialOrd for Podcast
impl PartialOrd for Podcast
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for Podcast
Auto Trait Implementations§
impl Freeze for Podcast
impl RefUnwindSafe for Podcast
impl Send for Podcast
impl Sync for Podcast
impl Unpin for Podcast
impl UnwindSafe for Podcast
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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
Compare self to
key and return true if they are equal.