pub struct DepositSwitchCreateRequest {
    pub client_id: Option<APIClientID>,
    pub secret: Option<APISecret>,
    pub target_access_token: String,
    pub target_account_id: String,
    pub country_code: Option<String>,
    pub options: Option<DepositSwitchCreateRequestOptions>,
}

Fields

client_id: Option<APIClientID>

Your Plaid API client_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.

secret: Option<APISecret>

Your Plaid API secret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.

target_access_token: String

Access token for the target Item, typically provided in the Import Item response.

target_account_id: String

Plaid Account ID that specifies the target bank account. This account will become the recipient for a user’s direct deposit.

country_code: Option<String>

ISO-3166-1 alpha-2 country code standard.

options: Option<DepositSwitchCreateRequestOptions>

Options to configure the /deposit_switch/create request. If provided, cannot be null.

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

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

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

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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

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