[][src]Struct libstripe::resources::connect::country::CountrySpecs

pub struct CountrySpecs {
    pub id: String,
    pub object: Object,
    pub default_currency: Currency,
    pub supported_bank_account_currencies: HashMap<Currency, Vec<String>>,
    pub supported_payment_currencies: Vec<Currency>,
    pub supported_payment_methods: Vec<PaymentMethods>,
    pub verification_fields: Option<Verification>,
}

Fields

id: Stringobject: Objectdefault_currency: Currencysupported_bank_account_currencies: HashMap<Currency, Vec<String>>supported_payment_currencies: Vec<Currency>supported_payment_methods: Vec<PaymentMethods>verification_fields: Option<Verification>

Methods

impl CountrySpecs[src]

pub fn retrieve(client: &Client, country: &str) -> Result<Self>[src]

pub fn list<B: Serialize>(client: &Client, param: B) -> Result<List<Self>>[src]

Trait Implementations

impl PartialEq<CountrySpecs> for CountrySpecs[src]

impl Debug for CountrySpecs[src]

impl Serialize for CountrySpecs[src]

impl<'de> Deserialize<'de> for CountrySpecs[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err