naurt-api 0.1.4

OpenAPI specification for Naurt's APIs.
Documentation
/*
 * Naurt API
 *
 * OpenAPI specification for Naurt's APIs. 
 *
 * The version of the OpenAPI document: 0.1.4
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum FinalDestinationHitGeojson {
    FeatureCollection(Box<models::FeatureCollection>),
    KeyValue(Box<models::KeyValue>),
}

impl Default for FinalDestinationHitGeojson {
    fn default() -> Self {
        Self::FeatureCollection(Default::default())
    }
}
/// 
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum Type {
    #[serde(rename = "FeatureCollection")]
    FeatureCollection,
}

impl Default for Type {
    fn default() -> Type {
        Self::FeatureCollection
    }
}