ExtensionAttribute

Trait ExtensionAttribute 

Source
pub trait ExtensionAttribute: ValueObject {
    // Required methods
    fn schema_uri(&self) -> &str;
    fn extension_namespace(&self) -> &str;
    fn validate_extension_rules(&self) -> ValidationResult<()>;
}
Expand description

Trait for value objects that represent extension attributes.

Extension attributes are defined by custom schemas and may have different validation rules and behaviors than core SCIM attributes.

Required Methods§

Source

fn schema_uri(&self) -> &str

Get the schema URI that defines this extension attribute

Source

fn extension_namespace(&self) -> &str

Get the extension namespace (usually derived from schema URI)

Source

fn validate_extension_rules(&self) -> ValidationResult<()>

Validate against extension-specific rules

Implementors§