[][src]Struct iso20022::pain_008_001_09::Contact4

pub struct Contact4 {
    pub dept: Option<String>,
    pub email_adr: Option<String>,
    pub email_purp: Option<String>,
    pub fax_nb: Option<String>,
    pub job_titl: Option<String>,
    pub mob_nb: Option<String>,
    pub nm: Option<String>,
    pub nm_prfx: Option<i32>,
    pub othr: Vec<OtherContact1>,
    pub phne_nb: Option<String>,
    pub prefrd_mtd: Option<i32>,
    pub rspnsblty: Option<String>,
}

Fields

dept: Option<String>email_adr: Option<String>email_purp: Option<String>fax_nb: Option<String>job_titl: Option<String>mob_nb: Option<String>nm: Option<String>nm_prfx: Option<i32>othr: Vec<OtherContact1>phne_nb: Option<String>prefrd_mtd: Option<i32>rspnsblty: Option<String>

Methods

impl Contact4[src]

pub fn dept(&self) -> &str[src]

Returns the value of dept, or the default value if dept is unset.

pub fn email_adr(&self) -> &str[src]

Returns the value of email_adr, or the default value if email_adr is unset.

pub fn email_purp(&self) -> &str[src]

Returns the value of email_purp, or the default value if email_purp is unset.

pub fn fax_nb(&self) -> &str[src]

Returns the value of fax_nb, or the default value if fax_nb is unset.

pub fn job_titl(&self) -> &str[src]

Returns the value of job_titl, or the default value if job_titl is unset.

pub fn mob_nb(&self) -> &str[src]

Returns the value of mob_nb, or the default value if mob_nb is unset.

pub fn nm(&self) -> &str[src]

Returns the value of nm, or the default value if nm is unset.

pub fn nm_prfx(&self) -> NamePrefix2Code[src]

Returns the enum value of nm_prfx, or the default if the field is unset or set to an invalid enum value.

pub fn set_nm_prfx(&mut self, value: NamePrefix2Code)[src]

Sets nm_prfx to the provided enum value.

pub fn phne_nb(&self) -> &str[src]

Returns the value of phne_nb, or the default value if phne_nb is unset.

pub fn prefrd_mtd(&self) -> PreferredContactMethod1Code[src]

Returns the enum value of prefrd_mtd, or the default if the field is unset or set to an invalid enum value.

pub fn set_prefrd_mtd(&mut self, value: PreferredContactMethod1Code)[src]

Sets prefrd_mtd to the provided enum value.

pub fn rspnsblty(&self) -> &str[src]

Returns the value of rspnsblty, or the default value if rspnsblty is unset.

Trait Implementations

impl Clone for Contact4[src]

impl Debug for Contact4[src]

impl Default for Contact4[src]

impl Message for Contact4[src]

impl PartialEq<Contact4> for Contact4[src]

impl StructuralPartialEq for Contact4[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.