[][src]Struct iso20022::pain_013_001_08::CategoryPurpose1Choice

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

Fields

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

Methods

impl CategoryPurpose1Choice[src]

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

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

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

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

Trait Implementations

impl Clone for CategoryPurpose1Choice[src]

impl Debug for CategoryPurpose1Choice[src]

impl Default for CategoryPurpose1Choice[src]

impl Message for CategoryPurpose1Choice[src]

impl PartialEq<CategoryPurpose1Choice> for CategoryPurpose1Choice[src]

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