Struct fractal_dto::v1::otp::AuthenticationCodeDTO
[−]
[src]
pub struct AuthenticationCodeDTO { pub code: u32, }
The 6 digit authentication code struct
Fields
code: u32
The 6 digit authentication code
Trait Implementations
impl Clone for AuthenticationCodeDTO
[src]
fn clone(&self) -> AuthenticationCodeDTO
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Encodable for AuthenticationCodeDTO
[src]
impl Decodable for AuthenticationCodeDTO
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D)
-> Result<AuthenticationCodeDTO, __D::Error>
-> Result<AuthenticationCodeDTO, __D::Error>