pub struct VCCode {
pub vc_type: VCCodeType,
pub value: String,
}Expand description
Represents a VC (Verification Code) used in the notification-based authentication session. This code is displayed to the user in their Smart ID app.
§Fields
vc_type- The type of the VC code. Currently, the only allowed type isalphaNumeric4.value- The value of the VC code.
Fields§
§vc_type: VCCodeType§value: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for VCCode
impl<'de> Deserialize<'de> for VCCode
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
impl StructuralPartialEq for VCCode
Auto Trait Implementations§
impl Freeze for VCCode
impl RefUnwindSafe for VCCode
impl Send for VCCode
impl Sync for VCCode
impl Unpin for VCCode
impl UnsafeUnpin for VCCode
impl UnwindSafe for VCCode
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