#[non_exhaustive]pub struct ItunesOwner {
pub name: Option<String>,
pub email: Option<String>,
}Expand description
iTunes podcast owner information
Contact information for the podcast owner (itunes:owner).
§Examples
use feedparser_rs::ItunesOwner;
let mut owner = ItunesOwner::default();
owner.name = Some("Jane Doe".to_string());
owner.email = Some("jane@example.com".to_string());
assert_eq!(owner.name.as_deref(), Some("Jane Doe"));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.name: Option<String>Owner’s name (itunes:name)
email: Option<String>Owner’s email address (itunes:email)
Trait Implementations§
Source§impl Clone for ItunesOwner
impl Clone for ItunesOwner
Source§impl Debug for ItunesOwner
impl Debug for ItunesOwner
Auto Trait Implementations§
impl Forget for ItunesOwner
impl Freeze for ItunesOwner
impl Move for ItunesOwner
impl RefUnwindSafe for ItunesOwner
impl Send for ItunesOwnerwhere
RawVecInner: Send,
impl Sync for ItunesOwnerwhere
RawVecInner: Sync,
impl Unpin for ItunesOwner
impl UnsafeUnpin for ItunesOwner
impl UnwindSafe for ItunesOwnerwhere
RawVecInner: UnwindSafe,
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