geoprox-client 0.5.0

An HTTP client library for interacting with the Geoprox search engine
Documentation
/*
 * geoprox-server
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 0.1.0
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct KeysFoundInner {
    /// Distance in kilometers
    #[serde(rename = "distance", skip_serializing_if = "Option::is_none")]
    pub distance: Option<f32>,
    #[serde(rename = "key", skip_serializing_if = "Option::is_none")]
    pub key: Option<String>,
}

impl KeysFoundInner {
    pub fn new() -> KeysFoundInner {
        KeysFoundInner {
            distance: None,
            key: None,
        }
    }
}