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
 */

/// ReportStatusString : Just the status of the report

/// Just the status of the report
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum ReportStatusString {
    #[serde(rename = "Created")]
    Created,
    #[serde(rename = "Rejected")]
    Rejected,
    #[serde(rename = "Resolved")]
    Resolved,

}

impl ToString for ReportStatusString {
    fn to_string(&self) -> String {
        match self {
            Self::Created => String::from("Created"),
            Self::Rejected => String::from("Rejected"),
            Self::Resolved => String::from("Resolved"),
        }
    }
}

impl Default for ReportStatusString {
    fn default() -> ReportStatusString {
        Self::Created
    }
}