plaid/model/data_sources.rs
1use serde::{Serialize, Deserialize};
2/**A description of the source of data for a given product/data type.
3
4`INSTITUTION`: The institution supports this product, and the data was provided by the institution.
5`INSTITUTION_MASK`: The user manually provided the full account number, which was matched to the account mask provided by the institution. Only applicable to the `numbers` data type.
6`USER`: The institution does not support this product, and the data was manually provided by the user.*/
7#[derive(Debug, Serialize, Deserialize, Clone)]
8pub enum DataSources {
9 #[serde(rename = "INSTITUTION")]
10 Institution,
11 #[serde(rename = "INSTITUTION_MASK")]
12 InstitutionMask,
13 #[serde(rename = "USER")]
14 User,
15}