pub struct Schema {
pub schemas: [SchemaSchema; 1],
pub id: String,
pub name: String,
pub description: String,
pub attributes: Vec<Attribute>,
pub meta: Meta<SchemaResourceType>,
}
Expand description
A SCIM schema
Fields§
§schemas: [SchemaSchema; 1]
[“urn:ietf:params:scim:schemas:core:2.0:Schema”]
id: String
The unique identifier for the schema.
name: String
The name of the schema.
description: String
A human-readable description of the schema.
attributes: Vec<Attribute>
A list of attributes that form the schema.
meta: Meta<SchemaResourceType>
Metadata about the schema.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Schema
impl<'de> Deserialize<'de> for Schema
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Schema
impl RefUnwindSafe for Schema
impl Send for Schema
impl Sync for Schema
impl Unpin for Schema
impl UnwindSafe for Schema
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more