pub enum SubAttribute {
Primary,
Custom(AttrString),
}
Expand description
Sub attributes are a component of SCIM, allowing tagged sub properties of a complex attribute to be accessed.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SubAttribute
impl Clone for SubAttribute
Source§fn clone(&self) -> SubAttribute
fn clone(&self) -> SubAttribute
Returns a copy 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 SubAttribute
impl Debug for SubAttribute
Source§impl<'de> Deserialize<'de> for SubAttribute
impl<'de> Deserialize<'de> for SubAttribute
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 From<&str> for SubAttribute
impl From<&str> for SubAttribute
Source§impl From<SubAttribute> for AttrString
impl From<SubAttribute> for AttrString
Source§fn from(val: SubAttribute) -> Self
fn from(val: SubAttribute) -> Self
Converts to this type from the input type.
Source§impl FromStr for SubAttribute
impl FromStr for SubAttribute
Source§impl Hash for SubAttribute
impl Hash for SubAttribute
Source§impl Ord for SubAttribute
impl Ord for SubAttribute
Source§fn cmp(&self, other: &SubAttribute) -> Ordering
fn cmp(&self, other: &SubAttribute) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SubAttribute
impl PartialEq for SubAttribute
Source§impl PartialOrd for SubAttribute
impl PartialOrd for SubAttribute
Source§impl Serialize for SubAttribute
impl Serialize for SubAttribute
impl Eq for SubAttribute
impl StructuralPartialEq for SubAttribute
Auto Trait Implementations§
impl Freeze for SubAttribute
impl RefUnwindSafe for SubAttribute
impl Send for SubAttribute
impl Sync for SubAttribute
impl Unpin for SubAttribute
impl UnwindSafe for SubAttribute
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> 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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.