bitwarden_api_api/models/
pending_auth_request.rs1use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct PendingAuthRequest {
17 #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
18 pub id: Option<uuid::Uuid>,
19 #[serde(rename = "creationDate", skip_serializing_if = "Option::is_none")]
20 pub creation_date: Option<String>,
21}
22
23impl PendingAuthRequest {
24 pub fn new() -> PendingAuthRequest {
25 PendingAuthRequest {
26 id: None,
27 creation_date: None,
28 }
29 }
30}