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§
Sourcefn schema_uri(&self) -> &str
fn schema_uri(&self) -> &str
Get the schema URI that defines this extension attribute
Sourcefn extension_namespace(&self) -> &str
fn extension_namespace(&self) -> &str
Get the extension namespace (usually derived from schema URI)
Sourcefn validate_extension_rules(&self) -> ValidationResult<()>
fn validate_extension_rules(&self) -> ValidationResult<()>
Validate against extension-specific rules