#[non_exhaustive]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 (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.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§impl Debug for PodcastAlternateEnclosure
impl Debug for PodcastAlternateEnclosure
Source§impl Default for PodcastAlternateEnclosure
impl Default for PodcastAlternateEnclosure
impl StructuralPartialEq for PodcastAlternateEnclosure
Auto Trait Implementations§
impl Forget for PodcastAlternateEnclosure
impl Freeze for PodcastAlternateEnclosurewhere
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<PodcastAlternateEnclosureSource>: Freeze,
impl Move for PodcastAlternateEnclosure
impl RefUnwindSafe for PodcastAlternateEnclosure
impl Send for PodcastAlternateEnclosure
impl Sync for PodcastAlternateEnclosure
impl Unpin for PodcastAlternateEnclosure
impl UnsafeUnpin for PodcastAlternateEnclosurewhere
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<PodcastAlternateEnclosureSource>: UnsafeUnpin,
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