pub enum PaymentTypeId {
CreditCard,
DebitCard,
BankTransfer,
Ticket,
AccountMoney,
}Variants§
CreditCard
DebitCard
BankTransfer
Instant Money transfer methods
Ticket
Pay later methods, such as boleto, lotérica or another local payment
AccountMoney
MercadoPago Account
Trait Implementations§
Source§impl AsRef<str> for PaymentTypeId
impl AsRef<str> for PaymentTypeId
Source§impl Clone for PaymentTypeId
impl Clone for PaymentTypeId
Source§fn clone(&self) -> PaymentTypeId
fn clone(&self) -> PaymentTypeId
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 PaymentTypeId
impl Debug for PaymentTypeId
Source§impl<'de> Deserialize<'de> for PaymentTypeId
impl<'de> Deserialize<'de> for PaymentTypeId
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 PaymentTypeId> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum PaymentTypeId> for &'static str
Source§fn from(x: &'_derivative_strum PaymentTypeId) -> &'static str
fn from(x: &'_derivative_strum PaymentTypeId) -> &'static str
Converts to this type from the input type.
Source§impl From<PaymentTypeId> for &'static str
impl From<PaymentTypeId> for &'static str
Source§fn from(x: PaymentTypeId) -> &'static str
fn from(x: PaymentTypeId) -> &'static str
Converts to this type from the input type.
Source§impl PartialEq for PaymentTypeId
impl PartialEq for PaymentTypeId
Source§impl Serialize for PaymentTypeId
impl Serialize for PaymentTypeId
impl Copy for PaymentTypeId
impl StructuralPartialEq for PaymentTypeId
Auto Trait Implementations§
impl Freeze for PaymentTypeId
impl RefUnwindSafe for PaymentTypeId
impl Send for PaymentTypeId
impl Sync for PaymentTypeId
impl Unpin for PaymentTypeId
impl UnwindSafe for PaymentTypeId
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