[][src]Struct rss::extension::itunes::ITunesOwner

pub struct ITunesOwner { /* fields omitted */ }

The contact information for the owner of an iTunes podcast.

Methods

impl ITunesOwner[src]

pub fn name(&self) -> Option<&str>[src]

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"));

pub fn set_name<V>(&mut self, name: V) where
    V: Into<Option<String>>, 
[src]

Set the name of this person.

Examples

use rss::extension::itunes::ITunesOwner;

let mut owner = ITunesOwner::default();
owner.set_name("John Doe".to_string());

pub fn email(&self) -> Option<&str>[src]

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"));

pub fn set_email<V>(&mut self, email: V) where
    V: Into<Option<String>>, 
[src]

Set the email of this person.

Examples

use rss::extension::itunes::ITunesOwner;

let mut owner = ITunesOwner::default();
owner.set_email("johndoe@example.com".to_string());

Trait Implementations

impl PartialEq<ITunesOwner> for ITunesOwner[src]

impl Clone for ITunesOwner[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Default for ITunesOwner[src]

impl Debug for ITunesOwner[src]

Auto Trait Implementations

impl Send for ITunesOwner

impl Sync for ITunesOwner

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]