/*
* Geo Engine API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.9.0
* 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 Coordinate2D {
#[serde(rename = "x")]
pub x: f64,
#[serde(rename = "y")]
pub y: f64,
}
impl Coordinate2D {
pub fn new(x: f64, y: f64) -> Coordinate2D {
Coordinate2D {
x,
y,
}
}
}