pub struct CityInfo<'a> {Show 13 fields
pub country_name: &'a str,
pub region_name: &'a str,
pub city_name: &'a str,
pub owner_domain: &'a str,
pub isp_domain: &'a str,
pub latitude: &'a str,
pub longitude: &'a str,
pub timezone: &'a str,
pub utcoffset: &'a str,
pub china_admin_code: &'a str,
pub idd_code: &'a str,
pub country_code: &'a str,
pub continent_code: &'a str,
}
Fields§
§country_name: &'a str
§region_name: &'a str
§city_name: &'a str
§owner_domain: &'a str
§isp_domain: &'a str
§latitude: &'a str
§longitude: &'a str
§timezone: &'a str
§utcoffset: &'a str
§china_admin_code: &'a str
§idd_code: &'a str
§country_code: &'a str
§continent_code: &'a str
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CityInfo<'a>
impl<'a> RefUnwindSafe for CityInfo<'a>
impl<'a> Send for CityInfo<'a>
impl<'a> Sync for CityInfo<'a>
impl<'a> Unpin for CityInfo<'a>
impl<'a> UnwindSafe for CityInfo<'a>
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