/*
* 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
*/
/// DataEditUserProfile : New user profile data This is applied as a partial.
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct DataEditUserProfile {
/// Text to set as user profile description
#[serde(rename = "content", skip_serializing_if = "Option::is_none")]
pub content: Option<String>,
/// Attachment Id for background
#[serde(rename = "background", skip_serializing_if = "Option::is_none")]
pub background: Option<String>,
}
impl DataEditUserProfile {
/// New user profile data This is applied as a partial.
pub fn new() -> DataEditUserProfile {
DataEditUserProfile {
content: None,
background: None,
}
}
}