pub struct CredentialKindName(/* private fields */);Expand description
Opaque kind name for CredentialKind::Other. The framework’s
compatibility logic treats Other-kinded credentials as untagged for
the purposes of requires_credential matching (per Tier B Q-FLOW-2).
Implementations§
Trait Implementations§
Source§impl Clone for CredentialKindName
impl Clone for CredentialKindName
Source§impl Debug for CredentialKindName
impl Debug for CredentialKindName
Source§impl<'de> Deserialize<'de> for CredentialKindName
impl<'de> Deserialize<'de> for CredentialKindName
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 CredentialKindName
impl Display for CredentialKindName
impl Eq for CredentialKindName
Source§impl From<&str> for CredentialKindName
impl From<&str> for CredentialKindName
Source§impl From<String> for CredentialKindName
impl From<String> for CredentialKindName
Source§impl Hash for CredentialKindName
impl Hash for CredentialKindName
Source§impl JsonSchema for CredentialKindName
impl JsonSchema for CredentialKindName
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for CredentialKindName
impl Ord for CredentialKindName
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CredentialKindName
impl PartialEq for CredentialKindName
Source§impl PartialOrd for CredentialKindName
impl PartialOrd for CredentialKindName
Source§impl Serialize for CredentialKindName
impl Serialize for CredentialKindName
impl StructuralPartialEq for CredentialKindName
Auto Trait Implementations§
impl Forget for CredentialKindName
impl Freeze for CredentialKindName
impl RefUnwindSafe for CredentialKindName
impl Send for CredentialKindName
impl Sync for CredentialKindName
impl Unpin for CredentialKindName
impl UnsafeUnpin for CredentialKindName
impl UnwindSafe for CredentialKindName
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