pub struct GeocodeResult {
pub city: Option<String>,
pub region: Option<String>,
pub country: Option<String>,
pub country_code: Option<String>,
pub address: Option<String>,
}Expand description
地理编码结果
Fields§
§city: Option<String>城市
region: Option<String>区域/州
country: Option<String>国家
country_code: Option<String>国家代码
address: Option<String>完整地址
Trait Implementations§
Source§impl Clone for GeocodeResult
impl Clone for GeocodeResult
Source§fn clone(&self) -> GeocodeResult
fn clone(&self) -> GeocodeResult
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 moreAuto Trait Implementations§
impl Freeze for GeocodeResult
impl RefUnwindSafe for GeocodeResult
impl Send for GeocodeResult
impl Sync for GeocodeResult
impl Unpin for GeocodeResult
impl UnsafeUnpin for GeocodeResult
impl UnwindSafe for GeocodeResult
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