Struct paypal_rust::resources::exchange_rate::ExchangeRate
source · [−]pub struct ExchangeRate {
pub source_currency: Option<String>,
pub target_currency: Option<String>,
pub value: Option<String>,
}
Fields
source_currency: Option<String>
The source currency from which to convert an amount.
target_currency: Option<String>
The target currency to which to convert an amount.
value: Option<String>
Trait Implementations
sourceimpl Clone for ExchangeRate
impl Clone for ExchangeRate
sourcefn clone(&self) -> ExchangeRate
fn clone(&self) -> ExchangeRate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ExchangeRate
impl Debug for ExchangeRate
sourceimpl Default for ExchangeRate
impl Default for ExchangeRate
sourcefn default() -> ExchangeRate
fn default() -> ExchangeRate
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ExchangeRate
impl<'de> Deserialize<'de> for ExchangeRate
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for ExchangeRate
impl Serialize for ExchangeRate
Auto Trait Implementations
impl RefUnwindSafe for ExchangeRate
impl Send for ExchangeRate
impl Sync for ExchangeRate
impl Unpin for ExchangeRate
impl UnwindSafe for ExchangeRate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more