nautobot-openapi 0.1.1

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 InterfaceModeChoices {
    #[serde(rename = "access")]
    Access,
    #[serde(rename = "tagged")]
    Tagged,
    #[serde(rename = "tagged-all")]
    TaggedAll,
}

impl ToString for InterfaceModeChoices {
    fn to_string(&self) -> String {
        match self {
            Self::Access => String::from("access"),
            Self::Tagged => String::from("tagged"),
            Self::TaggedAll => String::from("tagged-all"),
        }
    }
}

impl Default for InterfaceModeChoices {
    fn default() -> InterfaceModeChoices {
        Self::Access
    }
}