pub struct LocationClass {
pub city: String,
pub region_code: String,
pub area_code: Option<String>,
pub longitude: f64,
pub latitude: f64,
pub country_code: String,
pub country_name: String,
}
Fields§
§city: String
§region_code: String
§area_code: Option<String>
§longitude: f64
§latitude: f64
§country_code: String
§country_name: String
Trait Implementations§
Source§impl Debug for LocationClass
impl Debug for LocationClass
Source§impl<'de> Deserialize<'de> for LocationClass
impl<'de> Deserialize<'de> for LocationClass
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 LocationClass
impl RefUnwindSafe for LocationClass
impl Send for LocationClass
impl Sync for LocationClass
impl Unpin for LocationClass
impl UnwindSafe for LocationClass
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