workos 3.4.1

Official Rust SDK for the WorkOS API
Documentation
// This file is auto-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 WaitlistUser {
    /// The unique ID of the waitlist entry.
    pub id: String,
    /// The email address of the user on the waitlist.
    pub email: String,
    /// The state of the waitlist entry.
    pub state: WaitlistUserState,
    /// The timestamp when the entry was approved, or null if not yet approved.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub approved_at: Option<String>,
    /// Additional fields submitted when the user joined the waitlist. Values are user-provided — treat them as untrusted input when rendering or exporting.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub additional_fields: Option<std::collections::HashMap<String, String>>,
    /// The unique ID of the waitlist the entry belongs to.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub waitlist_id: Option<String>,
    /// An ISO 8601 timestamp.
    pub created_at: String,
    /// An ISO 8601 timestamp.
    pub updated_at: String,
    /// Distinguishes the Waitlist User object.
    pub object: String,
}