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 RadarStandaloneResponse {
    /// The verdict of the risk assessment.
    pub verdict: RadarStandaloneResponseVerdict,
    /// A human-readable reason for the verdict.
    pub reason: String,
    /// Unique identifier of the authentication attempt.
    pub attempt_id: String,
    /// The Radar control that triggered the verdict. Only present if the verdict is `block` or `challenge`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub control: Option<RadarStandaloneResponseControl>,
    /// The type of blocklist entry that triggered the verdict. Only present if the control is `restriction`.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub blocklist_type: Option<RadarStandaloneResponseBlocklistType>,
}