[−][src]Struct iso20022::pain_001_001_10::ExchangeRate1
Fields
ctrct_id: Option<String>
rate_tp: Option<i32>
unit_ccy: Option<String>
xchg_rate: Option<f64>
Methods
impl ExchangeRate1
[src]
pub fn ctrct_id(&self) -> &str
[src]
Returns the value of ctrct_id
, or the default value if ctrct_id
is unset.
pub fn rate_tp(&self) -> ExchangeRateType1Code
[src]
Returns the enum value of rate_tp
, or the default if the field is unset or set to an invalid enum value.
pub fn set_rate_tp(&mut self, value: ExchangeRateType1Code)
[src]
Sets rate_tp
to the provided enum value.
pub fn unit_ccy(&self) -> &str
[src]
Returns the value of unit_ccy
, or the default value if unit_ccy
is unset.
pub fn xchg_rate(&self) -> f64
[src]
Returns the value of xchg_rate
, or the default value if xchg_rate
is unset.
Trait Implementations
impl Clone for ExchangeRate1
[src]
fn clone(&self) -> ExchangeRate1
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ExchangeRate1
[src]
impl Default for ExchangeRate1
[src]
fn default() -> ExchangeRate1
[src]
impl Message for ExchangeRate1
[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<ExchangeRate1> for ExchangeRate1
[src]
fn eq(&self, other: &ExchangeRate1) -> bool
[src]
fn ne(&self, other: &ExchangeRate1) -> bool
[src]
impl StructuralPartialEq for ExchangeRate1
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExchangeRate1
impl Send for ExchangeRate1
impl Sync for ExchangeRate1
impl Unpin for ExchangeRate1
impl UnwindSafe for ExchangeRate1
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>,