Enum kanidmd_lib::value::SyntaxType
source · #[repr(u16)]pub enum SyntaxType {
Show 42 variants
Utf8String = 0,
Utf8StringInsensitive = 1,
Uuid = 2,
Boolean = 3,
SyntaxId = 4,
IndexId = 5,
ReferenceUuid = 6,
JsonFilter = 7,
Credential = 8,
SecretUtf8String = 9,
SshKey = 10,
SecurityPrincipalName = 11,
Uint32 = 12,
Cid = 13,
Utf8StringIname = 14,
NsUniqueId = 15,
DateTime = 16,
EmailAddress = 17,
Url = 18,
OauthScope = 19,
OauthScopeMap = 20,
PrivateBinary = 21,
IntentToken = 22,
Passkey = 23,
AttestedPasskey = 24,
Session = 25,
JwsKeyEs256 = 26,
JwsKeyRs256 = 27,
Oauth2Session = 28,
UiHint = 29,
TotpSecret = 30,
ApiToken = 31,
AuditLogString = 32,
EcKeyPrivate = 33,
Image = 34,
CredentialType = 35,
WebauthnAttestationCaList = 36,
OauthClaimMap = 37,
KeyInternal = 38,
HexString = 39,
Certificate = 40,
ApplicationPassword = 41,
}
Variants§
Utf8String = 0
Utf8StringInsensitive = 1
Uuid = 2
Boolean = 3
SyntaxId = 4
IndexId = 5
ReferenceUuid = 6
JsonFilter = 7
Credential = 8
SecretUtf8String = 9
SshKey = 10
SecurityPrincipalName = 11
Uint32 = 12
Cid = 13
Utf8StringIname = 14
NsUniqueId = 15
DateTime = 16
EmailAddress = 17
Url = 18
OauthScope = 19
OauthScopeMap = 20
PrivateBinary = 21
IntentToken = 22
Passkey = 23
AttestedPasskey = 24
Session = 25
JwsKeyEs256 = 26
JwsKeyRs256 = 27
Oauth2Session = 28
UiHint = 29
TotpSecret = 30
ApiToken = 31
AuditLogString = 32
EcKeyPrivate = 33
Image = 34
CredentialType = 35
WebauthnAttestationCaList = 36
OauthClaimMap = 37
KeyInternal = 38
HexString = 39
Certificate = 40
ApplicationPassword = 41
Trait Implementations§
source§impl Clone for SyntaxType
impl Clone for SyntaxType
source§fn clone(&self) -> SyntaxType
fn clone(&self) -> SyntaxType
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 SyntaxType
impl Debug for SyntaxType
source§impl Default for SyntaxType
impl Default for SyntaxType
source§fn default() -> SyntaxType
fn default() -> SyntaxType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SyntaxType
impl<'de> Deserialize<'de> for SyntaxType
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 Display for SyntaxType
impl Display for SyntaxType
source§impl From<SyntaxType> for PartialValue
impl From<SyntaxType> for PartialValue
source§fn from(s: SyntaxType) -> Self
fn from(s: SyntaxType) -> Self
Converts to this type from the input type.
source§impl From<SyntaxType> for Value
impl From<SyntaxType> for Value
source§fn from(s: SyntaxType) -> Self
fn from(s: SyntaxType) -> Self
Converts to this type from the input type.
source§impl FromIterator<SyntaxType> for Option<Box<ValueSetSyntax>>
impl FromIterator<SyntaxType> for Option<Box<ValueSetSyntax>>
source§fn from_iter<T>(iter: T) -> Option<Box<ValueSetSyntax>>where
T: IntoIterator<Item = SyntaxType>,
fn from_iter<T>(iter: T) -> Option<Box<ValueSetSyntax>>where
T: IntoIterator<Item = SyntaxType>,
Creates a value from an iterator. Read more
source§impl Hash for SyntaxType
impl Hash for SyntaxType
source§impl Ord for SyntaxType
impl Ord for SyntaxType
source§fn cmp(&self, other: &SyntaxType) -> Ordering
fn cmp(&self, other: &SyntaxType) -> 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 SyntaxType
impl PartialEq for SyntaxType
source§impl PartialOrd for SyntaxType
impl PartialOrd for SyntaxType
source§impl Serialize for SyntaxType
impl Serialize for SyntaxType
source§impl TryFrom<&str> for SyntaxType
impl TryFrom<&str> for SyntaxType
source§impl TryFrom<u16> for SyntaxType
impl TryFrom<u16> for SyntaxType
source§impl TryFromPrimitive for SyntaxType
impl TryFromPrimitive for SyntaxType
impl Copy for SyntaxType
impl Eq for SyntaxType
impl StructuralPartialEq for SyntaxType
Auto Trait Implementations§
impl Freeze for SyntaxType
impl RefUnwindSafe for SyntaxType
impl Send for SyntaxType
impl Sync for SyntaxType
impl Unpin for SyntaxType
impl UnwindSafe for SyntaxType
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> 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
Checks if this value is equivalent to the given key. Read more
§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.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request