pub struct PaymentMethodItem {Show 13 fields
pub deposit_limits: String,
pub deposit_time: String,
pub description: String,
pub display_name: String,
pub id: String,
pub payment_processor: String,
pub predefined_amounts: String,
pub signup_link: String,
pub supported_currencies: Vec<String>,
pub type_: String,
pub type_display_name: String,
pub withdraw_limits: Value,
pub withdrawal_time: String,
}
Expand description
A payment method suported for the given country
Fields§
§deposit_limits: String
The min and max values for deposits.\n
deposit_time: String
How much time it takes for a deposit to be processed.\n
description: String
Short description explaining the payment method.\n
display_name: String
Common name for the payment method.\n
id: String
Unique identifier for the payment method.\n
payment_processor: String
Payment processor for this payment method.\n
predefined_amounts: String
A list of predefined amounts for withdraw or deposit.\n
signup_link: String
Sign up link for this payment method.\n
supported_currencies: Vec<String>
Currencies supported for this payment method.\n
type_: String
Type of Payment Method.\n
type_display_name: String
A printable description for type of payment method.\n
withdraw_limits: Value
Withdrawal limits per currency.\n
withdrawal_time: String
How much time takes a withdrawal to be processed.\n
Trait Implementations§
Source§impl Clone for PaymentMethodItem
impl Clone for PaymentMethodItem
Source§fn clone(&self) -> PaymentMethodItem
fn clone(&self) -> PaymentMethodItem
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 PaymentMethodItem
impl Debug for PaymentMethodItem
Source§impl<'de> Deserialize<'de> for PaymentMethodItem
impl<'de> Deserialize<'de> for PaymentMethodItem
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
Auto Trait Implementations§
impl Freeze for PaymentMethodItem
impl RefUnwindSafe for PaymentMethodItem
impl Send for PaymentMethodItem
impl Sync for PaymentMethodItem
impl Unpin for PaymentMethodItem
impl UnwindSafe for PaymentMethodItem
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