Skip to main content

geoengine_api_client/models/
spatial_bounds_derive_derive.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#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct SpatialBoundsDeriveDerive {
15    #[serde(rename = "type")]
16    pub r#type: Type,
17}
18
19impl SpatialBoundsDeriveDerive {
20    pub fn new(r#type: Type) -> SpatialBoundsDeriveDerive {
21        SpatialBoundsDeriveDerive {
22            r#type,
23        }
24    }
25}
26/// 
27#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
28pub enum Type {
29    #[serde(rename = "derive")]
30    Derive,
31}
32
33impl Default for Type {
34    fn default() -> Type {
35        Self::Derive
36    }
37}
38