[][src]Struct iso20022::pain_014_001_08::Document12

pub struct Document12 {
    pub dgtl_sgntr: Option<PartyAndSignature3>,
    pub file_nm: Option<String>,
    pub frmt: DocumentFormat1Choice,
    pub id: String,
    pub isse_dt: DateAndDateTime2Choice,
    pub lang_cd: Option<String>,
    pub nclsr: Vec<u8>,
    pub nm: Option<String>,
    pub tp: DocumentType1Choice,
}

Fields

dgtl_sgntr: Option<PartyAndSignature3>file_nm: Option<String>frmt: DocumentFormat1Choiceid: Stringisse_dt: DateAndDateTime2Choicelang_cd: Option<String>nclsr: Vec<u8>nm: Option<String>tp: DocumentType1Choice

Methods

impl Document12[src]

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

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

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

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

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

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

Trait Implementations

impl Clone for Document12[src]

impl Debug for Document12[src]

impl Default for Document12[src]

impl Message for Document12[src]

impl PartialEq<Document12> for Document12[src]

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