workos 1.0.0

Official Rust SDK for the WorkOS API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
/// Information about the impersonator if this session was created via impersonation.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct SessionCreatedDataImpersonator {
    /// The email address of the WorkOS Dashboard user who is impersonating the user.
    pub email: String,
    /// The justification the impersonator gave for impersonating the user.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub reason: Option<String>,
}