use serde::{Serialize, Deserialize};
/**`investment:` Investment account. In API versions 2018-05-22 and earlier, this type is called `brokerage` instead.
`credit:` Credit card
`depository:` Depository account
`loan:` Loan account
`other:` Non-specified account type
See the [Account type schema](https://plaid.com/docs/api/accounts#account-type-schema) for a full listing of account types and corresponding subtypes.*/
#[derive(Debug, Serialize, Deserialize, Clone)]
pub enum AccountType {
#[serde(rename = "investment")]
Investment,
#[serde(rename = "credit")]
Credit,
#[serde(rename = "depository")]
Depository,
#[serde(rename = "loan")]
Loan,
#[serde(rename = "brokerage")]
Brokerage,
#[serde(rename = "other")]
Other,
}