use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct OgrSourceTimeFormatAuto {
#[serde(rename = "format")]
pub format: Format,
}
impl OgrSourceTimeFormatAuto {
pub fn new(format: Format) -> OgrSourceTimeFormatAuto {
OgrSourceTimeFormatAuto {
format,
}
}
}
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Format {
#[serde(rename = "auto")]
Auto,
}
impl Default for Format {
fn default() -> Format {
Self::Auto
}
}