pub struct PointOfInterest {Show 18 fields
pub id: u64,
pub name: Option<String>,
pub description: Option<String>,
pub lat: Option<f64>,
pub lng: Option<f64>,
pub type: Option<String>,
pub type_id: Option<u64>,
pub type_name: Option<String>,
pub icon: Option<String>,
pub user_id: Option<u64>,
pub organization_id: Option<u64>,
pub url: Option<String>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub address: Option<String>,
pub phone: Option<String>,
pub website: Option<String>,
pub tag_names: Option<Vec<String>>,
}Expand description
A point of interest
Fields§
§id: u64POI ID
name: Option<String>POI name
description: Option<String>POI description
lat: Option<f64>Latitude
lng: Option<f64>Longitude
type: Option<String>POI type/category
type_id: Option<u64>Type ID
type_name: Option<String>Type name
icon: Option<String>Icon identifier
user_id: Option<u64>User ID of the POI owner
organization_id: Option<u64>Organization ID
url: Option<String>API URL
created_at: Option<String>Created timestamp
updated_at: Option<String>Updated timestamp
address: Option<String>Address
phone: Option<String>Phone number
website: Option<String>Website URL
tag_names: Option<Vec<String>>Tag names
Trait Implementations§
Source§impl Clone for PointOfInterest
impl Clone for PointOfInterest
Source§fn clone(&self) -> PointOfInterest
fn clone(&self) -> PointOfInterest
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 PointOfInterest
impl Debug for PointOfInterest
Source§impl<'de> Deserialize<'de> for PointOfInterest
impl<'de> Deserialize<'de> for PointOfInterest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PointOfInterest
impl RefUnwindSafe for PointOfInterest
impl Send for PointOfInterest
impl Sync for PointOfInterest
impl Unpin for PointOfInterest
impl UnwindSafe for PointOfInterest
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