#[non_exhaustive]pub enum SchemeName {
smart_id,
smart_id_demo,
}Expand description
Enum representing the scheme (environment) name. Refer to to the ‘Environment’ docs for more details https://sk-eid.github.io/smart-id-documentation/environments.html
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl AsRef<str> for SchemeName
impl AsRef<str> for SchemeName
Source§impl Clone for SchemeName
impl Clone for SchemeName
Source§fn clone(&self) -> SchemeName
fn clone(&self) -> SchemeName
Returns a duplicate 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 SchemeName
impl Debug for SchemeName
Source§impl<'de> Deserialize<'de> for SchemeName
impl<'de> Deserialize<'de> for SchemeName
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 SchemeName
impl Display for SchemeName
Source§impl FromStr for SchemeName
impl FromStr for SchemeName
Source§impl PartialEq for SchemeName
impl PartialEq for SchemeName
Source§impl Serialize for SchemeName
impl Serialize for SchemeName
Source§impl TryFrom<&str> for SchemeName
impl TryFrom<&str> for SchemeName
impl StructuralPartialEq for SchemeName
Auto Trait Implementations§
impl Freeze for SchemeName
impl RefUnwindSafe for SchemeName
impl Send for SchemeName
impl Sync for SchemeName
impl Unpin for SchemeName
impl UnsafeUnpin for SchemeName
impl UnwindSafe for SchemeName
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.