[][src]Struct iso20022::pain_014_001_08::TaxPeriod2

pub struct TaxPeriod2 {
    pub fr_to_dt: Option<DatePeriod2>,
    pub tp: Option<i32>,
    pub yr: Option<i32>,
}

Fields

fr_to_dt: Option<DatePeriod2>tp: Option<i32>yr: Option<i32>

Methods

impl TaxPeriod2[src]

pub fn tp(&self) -> TaxRecordPeriod1Code[src]

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

pub fn set_tp(&mut self, value: TaxRecordPeriod1Code)[src]

Sets tp to the provided enum value.

pub fn yr(&self) -> i32[src]

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

Trait Implementations

impl Clone for TaxPeriod2[src]

impl Debug for TaxPeriod2[src]

impl Default for TaxPeriod2[src]

impl Message for TaxPeriod2[src]

impl PartialEq<TaxPeriod2> for TaxPeriod2[src]

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