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
sourceimpl ITunesOwner
impl ITunesOwner
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
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"));
sourcepub fn set_name<V>(&mut self, name: V) where
V: Into<Option<String>>,
pub fn set_name<V>(&mut self, name: V) where
V: Into<Option<String>>,
Set the name of this person.
Examples
use rss::extension::itunes::ITunesOwner;
let mut owner = ITunesOwner::default();
owner.set_name("John Doe".to_string());
Trait Implementations
sourceimpl Clone for ITunesOwner
impl Clone for ITunesOwner
sourcefn clone(&self) -> ITunesOwner
fn clone(&self) -> ITunesOwner
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ITunesOwner
impl Debug for ITunesOwner
sourceimpl Default for ITunesOwner
impl Default for ITunesOwner
sourcefn default() -> ITunesOwner
fn default() -> ITunesOwner
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ITunesOwner> for ITunesOwner
impl PartialEq<ITunesOwner> for ITunesOwner
sourcefn eq(&self, other: &ITunesOwner) -> bool
fn eq(&self, other: &ITunesOwner) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ITunesOwner) -> bool
fn ne(&self, other: &ITunesOwner) -> bool
This method tests for !=
.
impl StructuralPartialEq for ITunesOwner
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more