#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum SpeakerSupportPermittedSynthesisMorphing {
#[serde(rename = "ALL")]
All,
#[serde(rename = "SELF_ONLY")]
SelfOnly,
#[serde(rename = "NOTHING")]
Nothing,
}
impl ToString for SpeakerSupportPermittedSynthesisMorphing {
fn to_string(&self) -> String {
match self {
Self::All => String::from("ALL"),
Self::SelfOnly => String::from("SELF_ONLY"),
Self::Nothing => String::from("NOTHING"),
}
}
}
impl Default for SpeakerSupportPermittedSynthesisMorphing {
fn default() -> SpeakerSupportPermittedSynthesisMorphing {
Self::All
}
}