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