authentik_client/models/
property_mapping_preview.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct PropertyMappingPreview {
17 #[serde(rename = "preview")]
18 pub preview: std::collections::HashMap<String, serde_json::Value>,
19}
20
21impl PropertyMappingPreview {
22 pub fn new(preview: std::collections::HashMap<String, serde_json::Value>) -> PropertyMappingPreview {
24 PropertyMappingPreview { preview }
25 }
26}