[][src]Struct libstripe::resources::connect::account::Account

pub struct Account {
    pub id: String,
    pub object: Object,
    pub business_profile: Option<BusinessProfile>,
    pub business_type: BusinessType,
    pub capabilities: Capabilities,
    pub charges_enabled: bool,
    pub company: Option<Company>,
    pub country: String,
    pub created: Option<i64>,
    pub default_currency: Currency,
    pub details_submitted: bool,
    pub email: String,
    pub external_accounts: List<BankAccount>,
    pub individual: Persons,
    pub metadata: HashMap<String, String>,
    pub payouts_enabled: bool,
    pub requirements: Requirements,
    pub settings: AccountSettings,
    pub tos_acceptance: TosAcceptance,
    pub verification: Verification,
    pub account_type: AccountType,
}

Fields

id: Stringobject: Objectbusiness_profile: Option<BusinessProfile>business_type: BusinessTypecapabilities: Capabilitiescharges_enabled: boolcompany: Option<Company>country: Stringcreated: Option<i64>default_currency: Currencydetails_submitted: boolemail: Stringexternal_accounts: List<BankAccount>individual: Personsmetadata: HashMap<String, String>payouts_enabled: boolrequirements: Requirementssettings: AccountSettingstos_acceptance: TosAcceptanceverification: Verificationaccount_type: AccountType

Methods

impl Account[src]

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

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

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

pub fn delete(client: &Client, id: &str) -> Result<Deleted>[src]

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

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

Trait Implementations

impl PartialEq<Account> for Account[src]

impl Debug for Account[src]

impl Serialize for Account[src]

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

Auto Trait Implementations

impl Send for Account

impl Sync for Account

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