pub struct PodcastChapters {
pub url: Url,
pub type_: MimeType,
}Expand description
Podcast 2.0 chapters information
Links to chapter markers for time-based navigation within an episode.
Namespace: https://podcastindex.org/namespace/1.0
§Examples
use feedparser_rs::PodcastChapters;
let chapters = PodcastChapters {
url: "https://example.com/chapters.json".into(),
type_: "application/json+chapters".into(),
};
assert_eq!(chapters.url, "https://example.com/chapters.json");Fields§
§url: UrlChapters file URL (url attribute)
§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.
type_: MimeTypeMIME type (type attribute): “application/json+chapters” or “application/xml+chapters”
Trait Implementations§
Source§impl Clone for PodcastChapters
impl Clone for PodcastChapters
Source§fn clone(&self) -> PodcastChapters
fn clone(&self) -> PodcastChapters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PodcastChapters
impl Debug for PodcastChapters
Source§impl Default for PodcastChapters
impl Default for PodcastChapters
Source§fn default() -> PodcastChapters
fn default() -> PodcastChapters
Returns the “default value” for a type. Read more
Source§impl PartialEq for PodcastChapters
impl PartialEq for PodcastChapters
impl Eq for PodcastChapters
impl StructuralPartialEq for PodcastChapters
Auto Trait Implementations§
impl Freeze for PodcastChapters
impl RefUnwindSafe for PodcastChapters
impl Send for PodcastChapters
impl Sync for PodcastChapters
impl Unpin for PodcastChapters
impl UnwindSafe for PodcastChapters
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