revolt_api 0.6.5

Open source user-first chat platform.
Documentation
/*
 * Revolt API
 *
 * Open source user-first chat platform.
 *
 * The version of the OpenAPI document: 0.6.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", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub content: Option<Option<String>>,
    /// Attachment Id for background
    #[serde(rename = "background", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
    pub background: Option<Option<String>>,
}

impl DataEditUserProfile {
    /// New user profile data  This is applied as a partial.
    pub fn new() -> DataEditUserProfile {
        DataEditUserProfile {
            content: None,
            background: None,
        }
    }
}