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