#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct ErrorOneOf34 {
#[serde(rename = "type")]
pub _type: Type,
}
impl ErrorOneOf34 {
pub fn new(_type: Type) -> ErrorOneOf34 {
ErrorOneOf34 {
_type,
}
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Type {
#[serde(rename = "CannotGiveMissingPermissions")]
CannotGiveMissingPermissions,
}
impl Default for Type {
fn default() -> Type {
Self::CannotGiveMissingPermissions
}
}