[][src]Struct iso20022::pain_013_001_08::AdviceType1Choice

pub struct AdviceType1Choice {
    pub cd: Option<i32>,
    pub prtry: Option<String>,
}

Fields

cd: Option<i32>prtry: Option<String>

Methods

impl AdviceType1Choice[src]

pub fn cd(&self) -> AdviceType1Code[src]

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

pub fn set_cd(&mut self, value: AdviceType1Code)[src]

Sets cd to the provided enum value.

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

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

Trait Implementations

impl Clone for AdviceType1Choice[src]

impl Debug for AdviceType1Choice[src]

impl Default for AdviceType1Choice[src]

impl Message for AdviceType1Choice[src]

impl PartialEq<AdviceType1Choice> for AdviceType1Choice[src]

impl StructuralPartialEq for AdviceType1Choice[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.