pub struct PodcastAlternateEnclosure {
pub type_: MimeType,
pub length: Option<u64>,
pub bitrate: Option<f64>,
pub height: Option<u32>,
pub lang: Option<String>,
pub title: Option<String>,
pub rel: Option<String>,
pub codecs: Option<String>,
pub default: Option<bool>,
pub sources: Vec<PodcastAlternateEnclosureSource>,
pub integrity: Option<PodcastIntegrity>,
}Expand description
Podcast 2.0 alternate enclosure
An alternate version of the main episode audio/video in a different format or quality.
Namespace: https://podcastindex.org/namespace/1.0
Fields§
§type_: MimeTypeMIME type (type attribute, required)
length: Option<u64>File size in bytes (length attribute)
bitrate: Option<f64>Bitrate in kbps (bitrate attribute)
height: Option<u32>Video height in pixels (height attribute)
lang: Option<String>Language code (lang attribute)
title: Option<String>Title (title attribute)
rel: Option<String>Relationship (rel attribute): “default”, “alternate”, etc.
codecs: Option<String>Codecs string (codecs attribute)
default: Option<bool>Whether this is the default enclosure (default attribute)
sources: Vec<PodcastAlternateEnclosureSource>Source URIs for this enclosure
integrity: Option<PodcastIntegrity>Integrity verification
Trait Implementations§
Source§impl Clone for PodcastAlternateEnclosure
impl Clone for PodcastAlternateEnclosure
Source§fn clone(&self) -> PodcastAlternateEnclosure
fn clone(&self) -> PodcastAlternateEnclosure
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 PodcastAlternateEnclosure
impl Debug for PodcastAlternateEnclosure
Source§impl Default for PodcastAlternateEnclosure
impl Default for PodcastAlternateEnclosure
Source§fn default() -> PodcastAlternateEnclosure
fn default() -> PodcastAlternateEnclosure
Returns the “default value” for a type. Read more
impl StructuralPartialEq for PodcastAlternateEnclosure
Auto Trait Implementations§
impl Freeze for PodcastAlternateEnclosure
impl RefUnwindSafe for PodcastAlternateEnclosure
impl Send for PodcastAlternateEnclosure
impl Sync for PodcastAlternateEnclosure
impl Unpin for PodcastAlternateEnclosure
impl UnsafeUnpin for PodcastAlternateEnclosure
impl UnwindSafe for PodcastAlternateEnclosure
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