bitwarden_api_api/models/
organization_user_reset_password_request_model.rsuse serde::{Deserialize, Serialize};
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct OrganizationUserResetPasswordRequestModel {
#[serde(rename = "newMasterPasswordHash")]
pub new_master_password_hash: String,
#[serde(rename = "key")]
pub key: String,
}
impl OrganizationUserResetPasswordRequestModel {
pub fn new(
new_master_password_hash: String,
key: String,
) -> OrganizationUserResetPasswordRequestModel {
OrganizationUserResetPasswordRequestModel {
new_master_password_hash,
key,
}
}
}