Enum kanidm_proto::scim_v1::ScimValue
source · pub enum ScimValue {
Simple(ScimAttr),
Complex(BTreeMap<String, ScimAttr>),
MultiSimple(Vec<ScimAttr>),
MultiComplex(Vec<BTreeMap<String, ScimAttr>>),
}
Variants§
Simple(ScimAttr)
Complex(BTreeMap<String, ScimAttr>)
MultiSimple(Vec<ScimAttr>)
MultiComplex(Vec<BTreeMap<String, ScimAttr>>)
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for ScimValue
impl<'de> Deserialize<'de> for ScimValue
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScimValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScimValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for ScimValue
impl Serialize for ScimValue
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl<'__s> ToSchema<'__s> for ScimValue
impl<'__s> ToSchema<'__s> for ScimValue
impl Eq for ScimValue
impl StructuralPartialEq for ScimValue
Auto Trait Implementations§
impl Freeze for ScimValue
impl RefUnwindSafe for ScimValue
impl Send for ScimValue
impl Sync for ScimValue
impl Unpin for ScimValue
impl UnwindSafe for ScimValue
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.