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 * Contact: dev@geoengine.de
7 * Generated by: https://openapi-generator.tech
8 */
9
10use crate::models;
11use serde::{Deserialize, Serialize};
12
13/// VectorOperator : An operator that produces vector data.
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15#[serde(untagged)]
16pub enum VectorOperator {
17    #[serde(rename="MockPointSource")]
18    MockPointSource(Box<models::MockPointSource>),
19    #[serde(rename="OgrSource")]
20    OgrSource(Box<models::OgrSource>),
21    #[serde(rename="RasterVectorJoin")]
22    RasterVectorJoin(Box<models::RasterVectorJoin>),
23    #[serde(rename="Reprojection")]
24    Reprojection(Box<models::Reprojection>),
25}
26
27impl Default for VectorOperator {
28    fn default() -> Self {
29        Self::MockPointSource(Default::default())
30    }
31}
32
33