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};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct EmailVerificationCodeSessionAuthenticateRequest {
    /// The client ID of the application.
    pub client_id: String,
    /// The client secret of the application.
    pub client_secret: crate::SecretString,
    pub grant_type: String,
    /// The email verification code.
    pub code: String,
    /// The pending authentication token from a previous authentication attempt.
    pub pending_authentication_token: crate::SecretString,
    /// The IP address of the user's request.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub ip_address: Option<String>,
    /// A unique identifier for the device.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub device_id: Option<String>,
    /// The user agent string from the user's browser.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub user_agent: Option<String>,
}