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 RadarStandaloneAssessRequest {
    /// The IP address of the request to assess.
    pub ip_address: String,
    /// The user agent string of the request to assess.
    pub user_agent: String,
    /// The email address of the user making the request.
    pub email: String,
    /// The authentication method being used.
    pub auth_method: RadarStandaloneAssessRequestAuthMethod,
    /// The action being performed.
    pub action: RadarStandaloneAssessRequestAction,
    /// An optional device fingerprint for the request.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub device_fingerprint: Option<String>,
    /// An optional bot detection score for the request.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub bot_score: Option<String>,
}