pub enum CurrencyId {
ARS,
BRL,
CLP,
MXN,
COP,
PEN,
UYU,
}
Expand description
ID of the currency used in the payment accepted by MercadoPago ARS: Argentine peso. BRL: Brazilian real. CLP: Chilean peso. MXN: Mexican peso. COP: Colombian peso. PEN: Peruvian sol. UYU: Uruguayan peso.
Variants§
Trait Implementations§
Source§impl AsRef<str> for CurrencyId
impl AsRef<str> for CurrencyId
Source§impl Clone for CurrencyId
impl Clone for CurrencyId
Source§fn clone(&self) -> CurrencyId
fn clone(&self) -> CurrencyId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CurrencyId
impl Debug for CurrencyId
Source§impl<'de> Deserialize<'de> for CurrencyId
impl<'de> Deserialize<'de> for CurrencyId
Source§fn 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
Source§impl<'_derivative_strum> From<&'_derivative_strum CurrencyId> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum CurrencyId> for &'static str
Source§fn from(x: &'_derivative_strum CurrencyId) -> &'static str
fn from(x: &'_derivative_strum CurrencyId) -> &'static str
Converts to this type from the input type.
Source§impl From<CurrencyId> for &'static str
impl From<CurrencyId> for &'static str
Source§fn from(x: CurrencyId) -> &'static str
fn from(x: CurrencyId) -> &'static str
Converts to this type from the input type.
Source§impl PartialEq for CurrencyId
impl PartialEq for CurrencyId
Source§impl Serialize for CurrencyId
impl Serialize for CurrencyId
impl Copy for CurrencyId
impl StructuralPartialEq for CurrencyId
Auto Trait Implementations§
impl Freeze for CurrencyId
impl RefUnwindSafe for CurrencyId
impl Send for CurrencyId
impl Sync for CurrencyId
impl Unpin for CurrencyId
impl UnwindSafe for CurrencyId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more