// WARNING: THIS CODE IS AUTOGENERATED.
// DO NOT EDIT!!!
#![allow(clippy::too_many_arguments, clippy::new_without_default)]
use crate::types::Location;
impl Location {
/// This function creates an empty struct for the object Location.
pub fn new(latitude: f64, longitude: f64) -> Self {
Self {
latitude,
longitude,
horizontal_accuracy: None,
live_period: None,
heading: None,
proximity_alert_radius: None,
}
}
}