Skip to main content

SchemaMapper

Trait SchemaMapper 

Source
pub trait SchemaMapper: Send + Sync {
    // Required methods
    fn to_implementation(&self, scim_data: &Value) -> Result<Value, ScimError>;
    fn from_implementation(&self, impl_data: &Value) -> Result<Value, ScimError>;
}
Expand description

Trait for mapping between SCIM schema and implementation schema (e.g., database)

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§