[−][src]Struct iso20022::pain_008_001_09::Contact4
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]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize
[src]
fn clear(&mut self)
[src]
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
fn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
[src]
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
[src]
B: Buf,
Self: Default,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
impl PartialEq<Contact4> for Contact4
[src]
impl StructuralPartialEq for Contact4
[src]
Auto Trait Implementations
impl RefUnwindSafe for Contact4
impl Send for Contact4
impl Sync for Contact4
impl Unpin for Contact4
impl UnwindSafe for Contact4
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,