pub struct Place {
pub id: i64,
pub title: String,
pub latitude: f64,
pub longitude: f64,
pub created: i64,
pub icon: Option<String>,
pub country: Option<String>,
pub city: Option<String>,
}Expand description
Place information
Fields§
§id: i64Place ID
title: StringTitle
latitude: f64Latitude
longitude: f64Longitude
created: i64Created timestamp
icon: Option<String>Icon URL
country: Option<String>Country
city: Option<String>City
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Place
impl<'de> Deserialize<'de> for Place
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 Place
impl RefUnwindSafe for Place
impl Send for Place
impl Sync for Place
impl Unpin for Place
impl UnwindSafe for Place
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