Skip to main content

geoengine_api_client/models/
vector_operator.rs

1/*
2 * Geo Engine API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 0.9.0
7 * Contact: dev@geoengine.de
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// VectorOperator : An operator that produces vector data.
15#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
16#[serde(untagged)]
17pub enum VectorOperator {
18    #[serde(rename="MockPointSource")]
19    MockPointSource(Box<models::MockPointSource>),
20    #[serde(rename="OgrSource")]
21    OgrSource(Box<models::OgrSource>),
22    #[serde(rename="RasterVectorJoin")]
23    RasterVectorJoin(Box<models::RasterVectorJoin>),
24    #[serde(rename="Reprojection")]
25    Reprojection(Box<models::Reprojection>),
26}
27
28impl Default for VectorOperator {
29    fn default() -> Self {
30        Self::MockPointSource(Default::default())
31    }
32}
33
34