bitwarden_api_api/models/
provider_user_public_key_response_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ProviderUserPublicKeyResponseModel {
#[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<uuid::Uuid>,
#[serde(rename = "userId", skip_serializing_if = "Option::is_none")]
pub user_id: Option<uuid::Uuid>,
#[serde(rename = "key", skip_serializing_if = "Option::is_none")]
pub key: Option<String>,
}
impl ProviderUserPublicKeyResponseModel {
pub fn new() -> ProviderUserPublicKeyResponseModel {
ProviderUserPublicKeyResponseModel {
object: None,
id: None,
user_id: None,
key: None,
}
}
}