userlib/jsonb/
mfa_option.rs

1
2
3
4
5
6
7
8
9
10
11
use common::enums::mfa_type::MfaType;
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
#[serde(rename_all = "camelCase")]
pub struct MfaOption {
    pub mfa_type: MfaType,
    pub value: String,
    pub priority: Option<i32>,
    pub enabled: bool,
}