geoengine_api_client/models/
spatial_bounds_derive_derive.rs1use 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#[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