authentik_client/models/
property_mapping_test_result.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct PropertyMappingTestResult {
17 #[serde(rename = "result")]
18 pub result: String,
19 #[serde(rename = "successful")]
20 pub successful: bool,
21}
22
23impl PropertyMappingTestResult {
24 pub fn new(result: String, successful: bool) -> PropertyMappingTestResult {
26 PropertyMappingTestResult { result, successful }
27 }
28}