Struct rss::extension::itunes::ITunesOwner [−][src]
Expand description
The contact information for the owner of an iTunes podcast.
Fields
name: Option<String>
The name of the owner.
email: Option<String>
The email of the owner.
Implementations
Return the name of this person.
Examples
use rss::extension::itunes::ITunesOwner;
let mut owner = ITunesOwner::default();
owner.set_name("John Doe".to_string());
assert_eq!(owner.name(), Some("John Doe"));
Set the name of this person.
Examples
use rss::extension::itunes::ITunesOwner;
let mut owner = ITunesOwner::default();
owner.set_name("John Doe".to_string());
Return the email of this person.
Examples
use rss::extension::itunes::ITunesOwner;
let mut owner = ITunesOwner::default();
owner.set_email("johndoe@example.com".to_string());
assert_eq!(owner.email(), Some("johndoe@example.com"));
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ITunesOwner
impl Send for ITunesOwner
impl Sync for ITunesOwner
impl Unpin for ITunesOwner
impl UnwindSafe for ITunesOwner
Blanket Implementations
Mutably borrows from an owned value. Read more