Skip to main content

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