pub struct LinkTokenCreateRequest {
Show 36 fields pub access_token: Option<String>, pub access_tokens: Option<Vec<String>>, pub account_filters: Option<LinkTokenAccountFilters>, pub additional_consented_products: Option<Vec<String>>, pub android_package_name: Option<String>, pub auth: Option<LinkTokenCreateRequestAuth>, pub base_report: Option<LinkTokenCreateRequestBaseReport>, pub card_switch: Option<LinkTokenCreateCardSwitch>, pub client_name: String, pub consumer_report_permissible_purpose: Option<String>, pub country_codes: Vec<String>, pub cra_enabled: Option<bool>, pub deposit_switch: Option<LinkTokenCreateRequestDepositSwitch>, pub employment: Option<LinkTokenCreateRequestEmployment>, pub eu_config: Option<LinkTokenEuConfig>, pub hosted_link: Option<LinkTokenCreateHostedLink>, pub identity_verification: Option<LinkTokenCreateRequestIdentityVerification>, pub income_verification: Option<LinkTokenCreateRequestIncomeVerification>, pub institution_data: Option<LinkTokenCreateInstitutionData>, pub institution_id: Option<String>, pub investments: Option<LinkTokenInvestments>, pub investments_auth: Option<LinkTokenInvestmentsAuth>, pub language: String, pub link_customization_name: Option<String>, pub optional_products: Option<Vec<String>>, pub payment_initiation: Option<LinkTokenCreateRequestPaymentInitiation>, pub products: Option<Vec<String>>, pub redirect_uri: Option<String>, pub required_if_supported_products: Option<Vec<String>>, pub statements: Option<LinkTokenCreateRequestStatements>, pub transactions: Option<LinkTokenTransactions>, pub transfer: Option<LinkTokenCreateRequestTransfer>, pub update: Option<LinkTokenCreateRequestUpdate>, pub user: LinkTokenCreateRequestUser, pub user_token: Option<String>, pub webhook: Option<String>,
}
Expand description

You should use this struct via PlaidClient::link_token_create.

On request success, this will return a LinkTokenCreateResponse.

Fields§

§access_token: Option<String>§access_tokens: Option<Vec<String>>§account_filters: Option<LinkTokenAccountFilters>§additional_consented_products: Option<Vec<String>>§android_package_name: Option<String>§auth: Option<LinkTokenCreateRequestAuth>§base_report: Option<LinkTokenCreateRequestBaseReport>§card_switch: Option<LinkTokenCreateCardSwitch>§client_name: String§consumer_report_permissible_purpose: Option<String>§country_codes: Vec<String>§cra_enabled: Option<bool>§deposit_switch: Option<LinkTokenCreateRequestDepositSwitch>§employment: Option<LinkTokenCreateRequestEmployment>§eu_config: Option<LinkTokenEuConfig>§hosted_link: Option<LinkTokenCreateHostedLink>§identity_verification: Option<LinkTokenCreateRequestIdentityVerification>§income_verification: Option<LinkTokenCreateRequestIncomeVerification>§institution_data: Option<LinkTokenCreateInstitutionData>§institution_id: Option<String>§investments: Option<LinkTokenInvestments>§investments_auth: Option<LinkTokenInvestmentsAuth>§language: String§link_customization_name: Option<String>§optional_products: Option<Vec<String>>§payment_initiation: Option<LinkTokenCreateRequestPaymentInitiation>§products: Option<Vec<String>>§redirect_uri: Option<String>§required_if_supported_products: Option<Vec<String>>§statements: Option<LinkTokenCreateRequestStatements>§transactions: Option<LinkTokenTransactions>§transfer: Option<LinkTokenCreateRequestTransfer>§update: Option<LinkTokenCreateRequestUpdate>§user: LinkTokenCreateRequestUser§user_token: Option<String>§webhook: Option<String>

Trait Implementations§

source§

impl Clone for LinkTokenCreateRequest

source§

fn clone(&self) -> LinkTokenCreateRequest

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for LinkTokenCreateRequest

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for LinkTokenCreateRequest

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for LinkTokenCreateRequest

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
source§

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