1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
//! One time password module.

use DTO;

/// The 6 digit authentication code struct
#[derive(Clone, RustcEncodable, RustcDecodable)]
pub struct AuthenticationCodeDTO {
    /// The 6 digit authentication code
    pub code: u32,
}

impl DTO for AuthenticationCodeDTO {}