#[non_exhaustive]pub struct ItunesEntryMeta {
pub title: Option<String>,
pub author: Option<String>,
pub duration: Option<String>,
pub explicit: Option<bool>,
pub image: Option<Url>,
pub episode: Option<String>,
pub season: Option<String>,
pub episode_type: Option<String>,
pub subtitle: Option<String>,
pub summary: Option<String>,
}Expand description
iTunes podcast metadata for episodes
Contains episode-level iTunes namespace metadata from the itunes: prefix.
§Examples
use feedparser_rs::ItunesEntryMeta;
let mut episode = ItunesEntryMeta::default();
episode.duration = Some("1:00:00".to_string());
episode.episode = Some("42".to_string());
episode.season = Some("3".to_string());
episode.episode_type = Some("full".to_string());
assert_eq!(episode.duration.as_deref(), Some("1:00:00"));Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.title: Option<String>Episode title override (itunes:title)
Episode author (itunes:author)
duration: Option<String>Episode duration as raw string (itunes:duration)
Preserved verbatim from the feed: “3600”, “60:00”, “1:00:00”, “1:23:45”, etc.
explicit: Option<bool>Explicit content flag for this episode
image: Option<Url>Episode-specific artwork URL (itunes:image href)
episode: Option<String>Episode number as raw string (itunes:episode)
season: Option<String>Season number as raw string (itunes:season)
episode_type: Option<String>Episode type: “full”, “trailer”, or “bonus”
subtitle: Option<String>Episode subtitle (itunes:subtitle)
summary: Option<String>Episode summary (itunes:summary)
Trait Implementations§
Source§impl Clone for ItunesEntryMeta
impl Clone for ItunesEntryMeta
Source§impl Debug for ItunesEntryMeta
impl Debug for ItunesEntryMeta
Auto Trait Implementations§
impl Forget for ItunesEntryMeta
impl Freeze for ItunesEntryMeta
impl Move for ItunesEntryMeta
impl RefUnwindSafe for ItunesEntryMeta
impl Send for ItunesEntryMetawhere
RawVecInner: Send,
impl Sync for ItunesEntryMetawhere
RawVecInner: Sync,
impl Unpin for ItunesEntryMeta
impl UnsafeUnpin for ItunesEntryMeta
impl UnwindSafe for ItunesEntryMetawhere
RawVecInner: UnwindSafe,
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