geoengine-api-client 0.0.33

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Geo Engine API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 0.9.0
 * Contact: dev@geoengine.de
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// 
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum OgrSourceErrorSpec {
    #[serde(rename = "ignore")]
    Ignore,
    #[serde(rename = "abort")]
    Abort,

}

impl std::fmt::Display for OgrSourceErrorSpec {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::Ignore => write!(f, "ignore"),
            Self::Abort => write!(f, "abort"),
        }
    }
}

impl Default for OgrSourceErrorSpec {
    fn default() -> OgrSourceErrorSpec {
        Self::Ignore
    }
}