pub struct ElemExchangeRate { /* private fields */ }

Implementations

The exchange rate element implementation.

Create and return a new exchange rate element.

Arguments
  • from_code_param - From code.
  • to_code_param - To code.
  • exchange_rate_param - Exchange rate.
Return
  • See description.

Get the from code.

Return
  • See description.

Get the to code.

Return
  • See description.

Get the exchange_rate.

Return
  • See description.

Set the from code.

Arguments
  • from_code - See description.

Set the to code.

Arguments
  • to_code - See description.

Set the exchange rate.

Arguments
  • exchange_rate_param - See description.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.