geoengine-api-client 0.9.2

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)
 *
 * 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 InterpolationMethod {
    #[serde(rename = "nearestNeighbor")]
    NearestNeighbor,
    #[serde(rename = "biLinear")]
    BiLinear,

}

impl std::fmt::Display for InterpolationMethod {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        match self {
            Self::NearestNeighbor => write!(f, "nearestNeighbor"),
            Self::BiLinear => write!(f, "biLinear"),
        }
    }
}

impl Default for InterpolationMethod {
    fn default() -> InterpolationMethod {
        Self::NearestNeighbor
    }
}