Add TotpSchema

This commit is contained in:
bitfl0wer 2023-04-15 21:20:32 +02:00
parent 3957d23c53
commit 28d03b9c9f
No known key found for this signature in database
GPG Key ID: 84BBB60DF895ABF2
1 changed files with 9 additions and 0 deletions

View File

@ -26,4 +26,13 @@ pub mod schemas {
login_source: Option<String>,
gift_code_sku_id: Option<String>,
}
#[derive(Debug, Serialize, Deserialize)]
#[serde(rename_all = "snake_case")]
pub struct TotpSchema {
code: String,
ticket: String,
gift_code_sku_id: Option<String>,
login_source: Option<String>,
}
}