pub struct PodcastEntryMeta {Show 14 fields
pub transcript: Vec<PodcastTranscript>,
pub chapters: Option<PodcastChapters>,
pub soundbite: Vec<PodcastSoundbite>,
pub persons: Vec<PodcastPerson>,
pub medium: Option<String>,
pub season: Option<String>,
pub episode: Option<String>,
pub alternate_enclosures: Vec<PodcastAlternateEnclosure>,
pub value: Option<PodcastValue>,
pub location: Option<PodcastLocation>,
pub social_interact: Vec<PodcastSocialInteract>,
pub txt: Vec<PodcastTxt>,
pub follow: Vec<PodcastFollow>,
pub chat: Vec<PodcastChat>,
}Expand description
Podcast 2.0 metadata for episodes
Container for entry-level podcast metadata.
§Examples
use feedparser_rs::PodcastEntryMeta;
let mut podcast = PodcastEntryMeta::default();
assert!(podcast.transcript.is_empty());
assert!(podcast.chapters.is_none());
assert!(podcast.soundbite.is_empty());Fields§
§transcript: Vec<PodcastTranscript>Transcript URLs (podcast:transcript)
chapters: Option<PodcastChapters>Chapter markers (podcast:chapters)
soundbite: Vec<PodcastSoundbite>Shareable soundbites (podcast:soundbite)
persons: Vec<PodcastPerson>People associated with this episode (podcast:person)
medium: Option<String>Content medium type (podcast:medium)
season: Option<String>Season number (podcast:season number attribute)
episode: Option<String>Episode number (podcast:episode number attribute)
alternate_enclosures: Vec<PodcastAlternateEnclosure>Alternate enclosures (podcast:alternateEnclosure)
value: Option<PodcastValue>Value-for-value payment information (podcast:value)
Item-level <podcast:value> is where time-bounded payment splits
(podcast:valueTimeSplit) are expected to appear in practice, since
they redistribute payment during playback of a specific episode.
None both when <podcast:value> is absent and when it is present
but self-closing (<podcast:value/>) — a self-closing podcast:value
is skipped entirely (attributes included), matching how self-closing
podcast:valueTimeSplit is handled. If multiple <podcast:value>
elements appear in the same <item> (invalid per spec, which allows
at most one), the last one parsed wins.
location: Option<PodcastLocation>Geographic location (podcast:location)
Social interaction threads (podcast:socialInteract)
txt: Vec<PodcastTxt>Text records (podcast:txt)
follow: Vec<PodcastFollow>Follow links (podcast:follow)
chat: Vec<PodcastChat>Chat room references (podcast:chat)
Trait Implementations§
Source§impl Clone for PodcastEntryMeta
impl Clone for PodcastEntryMeta
Source§fn clone(&self) -> PodcastEntryMeta
fn clone(&self) -> PodcastEntryMeta
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more