nautobot-openapi 0.2.0

low level nautobot bindings (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * API Documentation
 *
 * Source of truth and network automation platform
 *
 * The version of the OpenAPI document: 2.4.20 (2.4)
 *
 * Generated by: https://openapi-generator.tech
 */

///
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum ProvidedContentsEnum {
    #[serde(rename = "extras.configcontext")]
    Configcontext,
    #[serde(rename = "extras.configcontextschema")]
    Configcontextschema,
    #[serde(rename = "extras.exporttemplate")]
    Exporttemplate,
    #[serde(rename = "extras.graphqlquery")]
    Graphqlquery,
    #[serde(rename = "extras.job")]
    Job,
}

impl ToString for ProvidedContentsEnum {
    fn to_string(&self) -> String {
        match self {
            Self::Configcontext => String::from("extras.configcontext"),
            Self::Configcontextschema => String::from("extras.configcontextschema"),
            Self::Exporttemplate => String::from("extras.exporttemplate"),
            Self::Graphqlquery => String::from("extras.graphqlquery"),
            Self::Job => String::from("extras.job"),
        }
    }
}

impl Default for ProvidedContentsEnum {
    fn default() -> ProvidedContentsEnum {
        Self::Configcontext
    }
}