#[non_exhaustive]pub struct PodcastAlternateEnclosureSource {
pub uri: Url,
pub content_type: Option<MimeType>,
}Expand description
Podcast 2.0 alternate enclosure source
A single source URI within a podcast:alternateEnclosure element.
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.uri: UrlSource URI (uri attribute, required)
§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.
content_type: Option<MimeType>Optional MIME type override (contentType attribute)
Trait Implementations§
impl Eq for PodcastAlternateEnclosureSource
impl StructuralPartialEq for PodcastAlternateEnclosureSource
Auto Trait Implementations§
impl Forget for PodcastAlternateEnclosureSource
impl Freeze for PodcastAlternateEnclosureSource
impl Move for PodcastAlternateEnclosureSource
impl RefUnwindSafe for PodcastAlternateEnclosureSource
impl Send for PodcastAlternateEnclosureSource
impl Sync for PodcastAlternateEnclosureSource
impl Unpin for PodcastAlternateEnclosureSource
impl UnsafeUnpin for PodcastAlternateEnclosureSourcewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
impl UnwindSafe for PodcastAlternateEnclosureSource
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