pub struct LinkTokenGetSessionsResponse {
pub events: Option<Vec<LinkEvent>>,
pub exit: Option<LinkSessionExit>,
pub finished_at: Option<DateTime<Utc>>,
pub link_session_id: String,
pub on_exit: Option<LinkSessionExitDeprecated>,
pub on_success: Option<LinkSessionSuccess>,
pub results: Option<LinkSessionResults>,
pub started_at: Option<DateTime<Utc>>,
}
Expand description
An object containing information about a link session. Session data will be provided for up to six hours after the session has ended.
Fields§
§events: Option<Vec<LinkEvent>>
List of customer-related Link events
exit: Option<LinkSessionExit>
An object representing an onExit callback from Link.
finished_at: Option<DateTime<Utc>>
The timestamp at which the link session was finished, if available, in ISO 8601 format.
link_session_id: String
The unique ID for the link session.
on_exit: Option<LinkSessionExitDeprecated>
An object representing an onExit callback from Link. This field has been deprecated in favor of exit
, for improved naming consistency.
on_success: Option<LinkSessionSuccess>
An object representing an onSuccess callback from Link. This object has been deprecated in favor of the newer results.item_add_result
, which can support multiple public tokens in a single Link session.
results: Option<LinkSessionResults>
The set of results for a Link session.
started_at: Option<DateTime<Utc>>
The timestamp at which the link session was first started, in ISO 8601 format.
Trait Implementations§
Source§impl Clone for LinkTokenGetSessionsResponse
impl Clone for LinkTokenGetSessionsResponse
Source§fn clone(&self) -> LinkTokenGetSessionsResponse
fn clone(&self) -> LinkTokenGetSessionsResponse
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more