naurt-api 0.1.3

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

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct FeedbackLocation {
    #[serde(rename = "latitude")]
    pub latitude: f64,
    #[serde(rename = "longitude")]
    pub longitude: f64,
}

impl FeedbackLocation {
    pub fn new(latitude: f64, longitude: f64) -> FeedbackLocation {
        FeedbackLocation {
            latitude,
            longitude,
        }
    }
}