workos 3.4.1

Official Rust SDK for the WorkOS API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// This file is auto-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 PatchConnectionAttributeMaps {
    /// How IdP attributes or claims map onto the standard WorkOS profile fields. Only the provided fields are updated.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub standard_attributes: Option<PatchConnectionStandardAttributes>,
    /// How IdP attributes or claims map onto custom attributes, keyed by custom attribute name. Custom attributes must already be defined in the WorkOS dashboard. Only the provided keys are updated; a `null` value unsets that mapping.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub custom_attributes: Option<std::collections::HashMap<String, Option<String>>>,
}