pub enum CredentialName {
Native,
EthPersonalSign,
CosmosArbitrary,
Passkey,
Ed25519,
}Expand description
Auto-generated discriminant enum variants
Variants§
Trait Implementations§
Source§impl AsRef<str> for CredentialName
impl AsRef<str> for CredentialName
Source§impl Clone for CredentialName
impl Clone for CredentialName
Source§fn clone(&self) -> CredentialName
fn clone(&self) -> CredentialName
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 CredentialName
impl Debug for CredentialName
Source§impl<'de> Deserialize<'de> for CredentialName
impl<'de> Deserialize<'de> for CredentialName
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CredentialName, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CredentialName, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CredentialName
impl Display for CredentialName
Source§impl<'_enum> From<&'_enum Credential> for CredentialName
impl<'_enum> From<&'_enum Credential> for CredentialName
Source§fn from(val: &'_enum Credential) -> CredentialName
fn from(val: &'_enum Credential) -> CredentialName
Converts to this type from the input type.
Source§impl From<Credential> for CredentialName
impl From<Credential> for CredentialName
Source§fn from(val: Credential) -> CredentialName
fn from(val: Credential) -> CredentialName
Converts to this type from the input type.
Source§impl FromStr for CredentialName
impl FromStr for CredentialName
Source§type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<CredentialName, <CredentialName as FromStr>::Err>
fn from_str(s: &str) -> Result<CredentialName, <CredentialName as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl JsonSchema for CredentialName
impl JsonSchema for CredentialName
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CredentialName
impl PartialEq for CredentialName
Source§impl Serialize for CredentialName
impl Serialize for CredentialName
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 TryFrom<&str> for CredentialName
impl TryFrom<&str> for CredentialName
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Source§fn try_from(
s: &str,
) -> Result<CredentialName, <CredentialName as TryFrom<&str>>::Error>
fn try_from( s: &str, ) -> Result<CredentialName, <CredentialName as TryFrom<&str>>::Error>
Performs the conversion.
Source§impl VariantArray for CredentialName
impl VariantArray for CredentialName
const VARIANTS: &'static [CredentialName]
impl Copy for CredentialName
impl Eq for CredentialName
impl StructuralPartialEq for CredentialName
Auto Trait Implementations§
impl Freeze for CredentialName
impl RefUnwindSafe for CredentialName
impl Send for CredentialName
impl Sync for CredentialName
impl Unpin for CredentialName
impl UnwindSafe for CredentialName
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