workos 1.0.0

Official Rust SDK for the WorkOS API
Documentation
// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// The [access token](https://workos.com/docs/reference/pipes/access-token) object, present when `active` is `true`.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct DataIntegrationAccessTokenResponseAccessToken {
    /// Distinguishes the access token object.
    pub object: String,
    /// The OAuth access token for the connected integration.
    pub access_token: crate::SecretString,
    /// The ISO-8601 formatted timestamp indicating when the access token expires.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub expires_at: Option<String>,
    /// The scopes granted to the access token.
    pub scopes: Vec<String>,
    /// If the integration has requested scopes that aren't present on the access token, they're listed here.
    pub missing_scopes: Vec<String>,
}