/*
* Revolt API
*
* Open source user-first chat platform.
*
* The version of the OpenAPI document: 0.5.5
* Contact: contact@revolt.chat
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct DataPasswordReset {
/// Reset token
#[serde(rename = "token")]
pub token: String,
/// New password
#[serde(rename = "password")]
pub password: String,
}
impl DataPasswordReset {
pub fn new(token: String, password: String) -> DataPasswordReset {
DataPasswordReset {
token,
password,
}
}
}