geoengine-api-client 0.9.2

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * Geo Engine API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * Contact: dev@geoengine.de
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct OgrSourceTimeFormatUnixTimeStamp {
    #[serde(rename = "format")]
    pub format: Format,
    #[serde(rename = "timestampType")]
    pub timestamp_type: models::UnixTimeStampType,
}

impl OgrSourceTimeFormatUnixTimeStamp {
    pub fn new(format: Format, timestamp_type: models::UnixTimeStampType) -> OgrSourceTimeFormatUnixTimeStamp {
        OgrSourceTimeFormatUnixTimeStamp {
            format,
            timestamp_type,
        }
    }
}
/// 
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Format {
    #[serde(rename = "unixTimeStamp")]
    UnixTimeStamp,
}

impl Default for Format {
    fn default() -> Format {
        Self::UnixTimeStamp
    }
}