/*
* API Documentation
*
* Source of truth and network automation platform
*
* The version of the OpenAPI document: 3.1.0 (3.1)
*
* Generated by: https://openapi-generator.tech
*/
///
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum DuplexEnum {
#[serde(rename = "auto")]
Auto,
#[serde(rename = "full")]
Full,
#[serde(rename = "half")]
Half,
}
impl ToString for DuplexEnum {
fn to_string(&self) -> String {
match self {
Self::Auto => String::from("auto"),
Self::Full => String::from("full"),
Self::Half => String::from("half"),
}
}
}
impl Default for DuplexEnum {
fn default() -> DuplexEnum {
Self::Auto
}
}