blob: b02663170f356797e43a4cfa8887ac67335e591d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
use super::Response;
use serde_derive::{Deserialize, Serialize};
#[derive(Clone, Debug, Deserialize, Serialize)]
pub(crate) struct Login {
#[serde(rename = "customerId")]
pub customer_id: i32,
#[serde(rename = "customerNo")]
pub customer_number: i32,
#[serde(rename = "accountId")]
pub account_id: i32,
pub tfa: String,
}
impl Response for Login {
fn unwrap(wrapped: Option<Self>) -> Self {
wrapped.unwrap()
}
}
|