pub struct CreateIdentity {
pub schema_id: String,
pub traits: Value,
}Fields§
§schema_id: StringSchemaID is the ID of the JSON Schema to be used for validating the identity’s traits.
traits: ValueTraits represent an identity’s traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in schema_url.
Implementations§
Source§impl CreateIdentity
impl CreateIdentity
pub fn new(schema_id: String, traits: Value) -> CreateIdentity
Trait Implementations§
Source§impl Clone for CreateIdentity
impl Clone for CreateIdentity
Source§fn clone(&self) -> CreateIdentity
fn clone(&self) -> CreateIdentity
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateIdentity
impl Debug for CreateIdentity
Source§impl<'de> Deserialize<'de> for CreateIdentity
impl<'de> Deserialize<'de> for CreateIdentity
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
Source§impl PartialEq for CreateIdentity
impl PartialEq for CreateIdentity
Source§impl Serialize for CreateIdentity
impl Serialize for CreateIdentity
impl StructuralPartialEq for CreateIdentity
Auto Trait Implementations§
impl Freeze for CreateIdentity
impl RefUnwindSafe for CreateIdentity
impl Send for CreateIdentity
impl Sync for CreateIdentity
impl Unpin for CreateIdentity
impl UnwindSafe for CreateIdentity
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