Skip to main content

geoengine_api_client/models/
spatial_bounds_derive.rs

1/*
2 * Geo Engine API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 0.9.0
7 * Contact: dev@geoengine.de
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// SpatialBoundsDerive : Spatial bounds derivation options for the [`MockPointSource`].
15#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
16#[serde(untagged)]
17pub enum SpatialBoundsDerive {
18    #[serde(rename="derive")]
19    Derive(Box<models::SpatialBoundsDeriveDerive>),
20    #[serde(rename="bounds")]
21    Bounds(Box<models::SpatialBoundsDeriveBounds>),
22    #[serde(rename="none")]
23    None(Box<models::SpatialBoundsDeriveNone>),
24}
25
26impl Default for SpatialBoundsDerive {
27    fn default() -> Self {
28        Self::Derive(Default::default())
29    }
30}
31
32