Enum kanidm_proto::scim_v1::server::ScimValueKanidm
source · pub enum ScimValueKanidm {
Show 27 variants
Bool(bool),
Uint32(u32),
Integer(i64),
Decimal(f64),
String(String),
DateTime(OffsetDateTime),
Reference(Url),
Uuid(Uuid),
EntryReference(ScimReference),
EntryReferences(Vec<ScimReference>),
ArrayString(Vec<String>),
ArrayDateTime(Vec<OffsetDateTime>),
ArrayUuid(Vec<Uuid>),
ArrayBinary(Vec<ScimBinary>),
ArrayCertificate(Vec<ScimCertificate>),
Address(Vec<ScimAddress>),
Mail(Vec<ScimMail>),
ApplicationPassword(Vec<ScimApplicationPassword>),
AuditString(Vec<ScimAuditString>),
SshPublicKey(Vec<ScimSshPublicKey>),
AuthSession(Vec<ScimAuthSession>),
OAuth2Session(Vec<ScimOAuth2Session>),
ApiToken(Vec<ScimApiToken>),
IntentToken(Vec<ScimIntentToken>),
OAuth2ScopeMap(Vec<ScimOAuth2ScopeMap>),
OAuth2ClaimMap(Vec<ScimOAuth2ClaimMap>),
KeyInternal(Vec<ScimKeyInternal>),
}
Expand description
This is a strongly typed ScimValue for Kanidm. It is for serialisation only since on a deserialisation path we can not know the intent of the sender to how we deserialise strings. Additionally during deserialisation we need to accept optional or partial types too.
Variants§
Bool(bool)
Uint32(u32)
Integer(i64)
Decimal(f64)
String(String)
DateTime(OffsetDateTime)
Reference(Url)
Uuid(Uuid)
EntryReference(ScimReference)
EntryReferences(Vec<ScimReference>)
ArrayString(Vec<String>)
ArrayDateTime(Vec<OffsetDateTime>)
ArrayUuid(Vec<Uuid>)
ArrayBinary(Vec<ScimBinary>)
ArrayCertificate(Vec<ScimCertificate>)
Address(Vec<ScimAddress>)
Mail(Vec<ScimMail>)
ApplicationPassword(Vec<ScimApplicationPassword>)
AuditString(Vec<ScimAuditString>)
SshPublicKey(Vec<ScimSshPublicKey>)
AuthSession(Vec<ScimAuthSession>)
OAuth2Session(Vec<ScimOAuth2Session>)
ApiToken(Vec<ScimApiToken>)
IntentToken(Vec<ScimIntentToken>)
OAuth2ScopeMap(Vec<ScimOAuth2ScopeMap>)
OAuth2ClaimMap(Vec<ScimOAuth2ClaimMap>)
KeyInternal(Vec<ScimKeyInternal>)
Trait Implementations§
source§impl Clone for ScimValueKanidm
impl Clone for ScimValueKanidm
source§fn clone(&self) -> ScimValueKanidm
fn clone(&self) -> ScimValueKanidm
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 ScimValueKanidm
impl Debug for ScimValueKanidm
source§impl From<OffsetDateTime> for ScimValueKanidm
impl From<OffsetDateTime> for ScimValueKanidm
source§impl From<String> for ScimValueKanidm
impl From<String> for ScimValueKanidm
source§impl From<Uuid> for ScimValueKanidm
impl From<Uuid> for ScimValueKanidm
source§impl From<Vec<OffsetDateTime>> for ScimValueKanidm
impl From<Vec<OffsetDateTime>> for ScimValueKanidm
source§impl From<Vec<ScimAddress>> for ScimValueKanidm
impl From<Vec<ScimAddress>> for ScimValueKanidm
source§fn from(set: Vec<ScimAddress>) -> Self
fn from(set: Vec<ScimAddress>) -> Self
Converts to this type from the input type.
source§impl From<Vec<ScimApiToken>> for ScimValueKanidm
impl From<Vec<ScimApiToken>> for ScimValueKanidm
source§fn from(set: Vec<ScimApiToken>) -> Self
fn from(set: Vec<ScimApiToken>) -> Self
Converts to this type from the input type.
source§impl From<Vec<ScimApplicationPassword>> for ScimValueKanidm
impl From<Vec<ScimApplicationPassword>> for ScimValueKanidm
source§fn from(set: Vec<ScimApplicationPassword>) -> Self
fn from(set: Vec<ScimApplicationPassword>) -> Self
Converts to this type from the input type.
source§impl From<Vec<ScimAuditString>> for ScimValueKanidm
impl From<Vec<ScimAuditString>> for ScimValueKanidm
source§fn from(set: Vec<ScimAuditString>) -> Self
fn from(set: Vec<ScimAuditString>) -> Self
Converts to this type from the input type.
source§impl From<Vec<ScimAuthSession>> for ScimValueKanidm
impl From<Vec<ScimAuthSession>> for ScimValueKanidm
source§fn from(set: Vec<ScimAuthSession>) -> Self
fn from(set: Vec<ScimAuthSession>) -> Self
Converts to this type from the input type.
source§impl From<Vec<ScimBinary>> for ScimValueKanidm
impl From<Vec<ScimBinary>> for ScimValueKanidm
source§fn from(set: Vec<ScimBinary>) -> Self
fn from(set: Vec<ScimBinary>) -> Self
Converts to this type from the input type.
source§impl From<Vec<ScimCertificate>> for ScimValueKanidm
impl From<Vec<ScimCertificate>> for ScimValueKanidm
source§fn from(set: Vec<ScimCertificate>) -> Self
fn from(set: Vec<ScimCertificate>) -> Self
Converts to this type from the input type.
source§impl From<Vec<ScimIntentToken>> for ScimValueKanidm
impl From<Vec<ScimIntentToken>> for ScimValueKanidm
source§fn from(set: Vec<ScimIntentToken>) -> Self
fn from(set: Vec<ScimIntentToken>) -> Self
Converts to this type from the input type.
source§impl From<Vec<ScimKeyInternal>> for ScimValueKanidm
impl From<Vec<ScimKeyInternal>> for ScimValueKanidm
source§fn from(set: Vec<ScimKeyInternal>) -> Self
fn from(set: Vec<ScimKeyInternal>) -> Self
Converts to this type from the input type.
source§impl From<Vec<ScimOAuth2ClaimMap>> for ScimValueKanidm
impl From<Vec<ScimOAuth2ClaimMap>> for ScimValueKanidm
source§fn from(set: Vec<ScimOAuth2ClaimMap>) -> Self
fn from(set: Vec<ScimOAuth2ClaimMap>) -> Self
Converts to this type from the input type.
source§impl From<Vec<ScimOAuth2ScopeMap>> for ScimValueKanidm
impl From<Vec<ScimOAuth2ScopeMap>> for ScimValueKanidm
source§fn from(set: Vec<ScimOAuth2ScopeMap>) -> Self
fn from(set: Vec<ScimOAuth2ScopeMap>) -> Self
Converts to this type from the input type.
source§impl From<Vec<ScimOAuth2Session>> for ScimValueKanidm
impl From<Vec<ScimOAuth2Session>> for ScimValueKanidm
source§fn from(set: Vec<ScimOAuth2Session>) -> Self
fn from(set: Vec<ScimOAuth2Session>) -> Self
Converts to this type from the input type.
source§impl From<Vec<ScimSshPublicKey>> for ScimValueKanidm
impl From<Vec<ScimSshPublicKey>> for ScimValueKanidm
source§fn from(set: Vec<ScimSshPublicKey>) -> Self
fn from(set: Vec<ScimSshPublicKey>) -> Self
Converts to this type from the input type.
source§impl From<bool> for ScimValueKanidm
impl From<bool> for ScimValueKanidm
source§impl From<u32> for ScimValueKanidm
impl From<u32> for ScimValueKanidm
source§impl Serialize for ScimValueKanidm
impl Serialize for ScimValueKanidm
Auto Trait Implementations§
impl Freeze for ScimValueKanidm
impl RefUnwindSafe for ScimValueKanidm
impl Send for ScimValueKanidm
impl Sync for ScimValueKanidm
impl Unpin for ScimValueKanidm
impl UnwindSafe for ScimValueKanidm
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
)