Struct plaid::model::LinkTokenCreateResponse
source · pub struct LinkTokenCreateResponse {
pub expiration: DateTime<Utc>,
pub hosted_link_url: Option<String>,
pub link_token: String,
pub request_id: String,
}
Expand description
LinkTokenCreateResponse defines the response schema for /link/token/create
Fields§
§expiration: DateTime<Utc>
The expiration date for the link_token
, in ISO 8601 format. A link_token
created to generate a public_token
that will be exchanged for a new access_token
expires after 4 hours. A link_token
created for an existing Item (such as when updating an existing access_token
by launching Link in update mode) expires after 30 minutes.
hosted_link_url: Option<String>
A URL of a Plaid-hosted Link flow that will use the Link token returned by this request. Only present if the client is enabled for Hosted Link (beta).
link_token: String
A link_token
, which can be supplied to Link in order to initialize it and receive a public_token
, which can be exchanged for an access_token
.
request_id: String
A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive.
Trait Implementations§
source§impl Clone for LinkTokenCreateResponse
impl Clone for LinkTokenCreateResponse
source§fn clone(&self) -> LinkTokenCreateResponse
fn clone(&self) -> LinkTokenCreateResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more