pub struct ItunesFeedMeta {
pub author: Option<String>,
pub owner: Option<ItunesOwner>,
pub categories: Vec<ItunesCategory>,
pub explicit: Option<bool>,
pub image: Option<Url>,
pub keywords: Vec<String>,
pub podcast_type: Option<String>,
pub complete: Option<bool>,
pub new_feed_url: Option<Url>,
}Expand description
iTunes podcast metadata for feeds
Contains podcast-level iTunes namespace metadata from the itunes: prefix.
Namespace URI: http://www.itunes.com/dtds/podcast-1.0.dtd
§Examples
use feedparser_rs::ItunesFeedMeta;
let mut itunes = ItunesFeedMeta::default();
itunes.author = Some("John Doe".to_string());
itunes.explicit = Some(false);
itunes.podcast_type = Some("episodic".to_string());
assert_eq!(itunes.author.as_deref(), Some("John Doe"));Fields§
Podcast author (itunes:author)
owner: Option<ItunesOwner>Podcast owner contact information (itunes:owner)
categories: Vec<ItunesCategory>Podcast categories with optional subcategories
explicit: Option<bool>Explicit content flag (itunes:explicit)
image: Option<Url>Podcast artwork URL (itunes:image href attribute)
keywords: Vec<String>Search keywords (itunes:keywords)
podcast_type: Option<String>Podcast type: “episodic” or “serial”
complete: Option<bool>Podcast completion status (itunes:complete)
Set to true if podcast is complete and no new episodes will be published. Value is “Yes” in the feed for true.
new_feed_url: Option<Url>New feed URL for migrated podcasts (itunes:new-feed-url)
Indicates the podcast has moved to a new feed location.
§Security Warning
This URL comes from untrusted feed input and has NOT been validated for SSRF. Applications MUST validate URLs before fetching to prevent SSRF attacks.
Trait Implementations§
Source§impl Clone for ItunesFeedMeta
impl Clone for ItunesFeedMeta
Source§fn clone(&self) -> ItunesFeedMeta
fn clone(&self) -> ItunesFeedMeta
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more