scim-server 0.4.0

A comprehensive SCIM 2.0 server library for Rust with multi-tenant support and type-safe operations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Domain-specific types for SCIM resources.
//!
//! This module contains specialized data structures that represent
//! specific domain concepts used in SCIM resources.

use serde::{Deserialize, Serialize};

/// Email address representation extracted from User resources.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct EmailAddress {
    pub value: String,
    #[serde(rename = "type")]
    pub email_type: Option<String>,
    pub primary: Option<bool>,
    pub display: Option<String>,
}