/*
* Manticore Search Client
*
* Сlient for Manticore Search.
*
* The version of the OpenAPI document: 5.0.0
* Contact: info@manticoresearch.com
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// GeoDistanceLocationAnchor : Specifies the location of the pin point used for search
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GeoDistanceLocationAnchor {
/// Latitude of the anchor point
#[serde(rename = "lat", skip_serializing_if = "Option::is_none")]
pub lat: Option<f64>,
/// Longitude of the anchor point
#[serde(rename = "lon", skip_serializing_if = "Option::is_none")]
pub lon: Option<f64>,
}
impl GeoDistanceLocationAnchor {
/// Specifies the location of the pin point used for search
pub fn new() -> GeoDistanceLocationAnchor {
GeoDistanceLocationAnchor {
lat: None,
lon: None,
}
}
}