Skip to main content

geoengine_api_client/models/
derive_out_raster_specs_source.rs

1/*
2 * Geo Engine API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * Contact: dev@geoengine.de
7 * Generated by: https://openapi-generator.tech
8 */
9
10use crate::models;
11use serde::{Deserialize, Serialize};
12
13/// 
14#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
15pub enum DeriveOutRasterSpecsSource {
16    #[serde(rename = "dataBounds")]
17    DataBounds,
18    #[serde(rename = "projectionBounds")]
19    ProjectionBounds,
20
21}
22
23impl std::fmt::Display for DeriveOutRasterSpecsSource {
24    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
25        match self {
26            Self::DataBounds => write!(f, "dataBounds"),
27            Self::ProjectionBounds => write!(f, "projectionBounds"),
28        }
29    }
30}
31
32impl Default for DeriveOutRasterSpecsSource {
33    fn default() -> DeriveOutRasterSpecsSource {
34        Self::DataBounds
35    }
36}
37