bitwarden_api_api/models/
web_authn_credential_response_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct WebAuthnCredentialResponseModel {
#[serde(rename = "object", skip_serializing_if = "Option::is_none")]
pub object: Option<String>,
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
pub id: Option<String>,
#[serde(rename = "name", skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
#[serde(rename = "prfStatus", skip_serializing_if = "Option::is_none")]
pub prf_status: Option<models::WebAuthnPrfStatus>,
#[serde(rename = "encryptedUserKey", skip_serializing_if = "Option::is_none")]
pub encrypted_user_key: Option<String>,
#[serde(rename = "encryptedPublicKey", skip_serializing_if = "Option::is_none")]
pub encrypted_public_key: Option<String>,
}
impl WebAuthnCredentialResponseModel {
pub fn new() -> WebAuthnCredentialResponseModel {
WebAuthnCredentialResponseModel {
object: None,
id: None,
name: None,
prf_status: None,
encrypted_user_key: None,
encrypted_public_key: None,
}
}
}