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]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl Decodable for AuthenticationCodeDTO
[src]
fn decode<__D: Decoder>(
__arg_0: &mut __D
) -> Result<AuthenticationCodeDTO, __D::Error>
__arg_0: &mut __D
) -> Result<AuthenticationCodeDTO, __D::Error>
Deserialize a value using a Decoder
.