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§

Implementors§