pub struct PointOfInterestRequest {
pub name: Option<String>,
pub description: Option<String>,
pub latitude: Option<f64>,
pub longitude: Option<f64>,
pub poi_type: Option<String>,
pub icon: Option<String>,
pub address: Option<String>,
pub phone: Option<String>,
pub website: Option<String>,
}Expand description
Request to create or update a POI
Fields§
§name: Option<String>POI name
description: Option<String>POI description
latitude: Option<f64>Latitude
longitude: Option<f64>Longitude
poi_type: Option<String>POI type/category
icon: Option<String>Icon identifier
address: Option<String>Address
phone: Option<String>Phone number
website: Option<String>Website URL
Trait Implementations§
Source§impl Clone for PointOfInterestRequest
impl Clone for PointOfInterestRequest
Source§fn clone(&self) -> PointOfInterestRequest
fn clone(&self) -> PointOfInterestRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PointOfInterestRequest
impl Debug for PointOfInterestRequest
Auto Trait Implementations§
impl Freeze for PointOfInterestRequest
impl RefUnwindSafe for PointOfInterestRequest
impl Send for PointOfInterestRequest
impl Sync for PointOfInterestRequest
impl Unpin for PointOfInterestRequest
impl UnwindSafe for PointOfInterestRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more