pub struct City {
pub id: Option<u64>,
pub title: Option<String>,
}Expand description
Information about the city indicated on the user’s page in the section “Contacts”
Fields§
§id: Option<u64>City ID, which can be used to get its name using the method database.getCitiesById
title: Option<String>The name of the city
Trait Implementations§
Source§impl<'de> Deserialize<'de> for City
impl<'de> Deserialize<'de> for City
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 City
impl RefUnwindSafe for City
impl Send for City
impl Sync for City
impl Unpin for City
impl UnwindSafe for City
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