geoengine_api_client/models/
ogr_source_duration_spec_infinite.rs1use crate::models;
11use serde::{Deserialize, Serialize};
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct OgrSourceDurationSpecInfinite {
15 #[serde(rename = "type")]
16 pub r#type: Type,
17}
18
19impl OgrSourceDurationSpecInfinite {
20 pub fn new(r#type: Type) -> OgrSourceDurationSpecInfinite {
21 OgrSourceDurationSpecInfinite {
22 r#type,
23 }
24 }
25}
26#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
28pub enum Type {
29 #[serde(rename = "infinite")]
30 Infinite,
31}
32
33impl Default for Type {
34 fn default() -> Type {
35 Self::Infinite
36 }
37}
38