pub struct Address<'a> {
pub prefecture: &'a str,
pub prefecture_code: u8,
pub city: &'a str,
pub city_code: u32,
pub town: &'a str,
pub town_code: u64,
pub lat: f64,
pub lon: f64,
}Expand description
大字・町丁目の住所情報
文字列フィールドはGeocoder内部の文字列テーブルへの参照です。
Fields§
§prefecture: &'a str都道府県名(例: “東京都”)
prefecture_code: u8都道府県コード(JIS X 0401、1〜47)
city: &'a str市区町村名(例: “千代田区”)
city_code: u32市区町村コード(JIS X 0402、5桁)
town: &'a str大字町丁目名(例: “丸の内一丁目”)
town_code: u64大字町丁目コード(12桁)
lat: f64代表点の緯度(10進度)
lon: f64代表点の経度(10進度)
Trait Implementations§
impl<'a> Copy for Address<'a>
impl<'a> StructuralPartialEq for Address<'a>
Auto Trait Implementations§
impl<'a> Forget for Address<'a>
impl<'a> Freeze for Address<'a>
impl<'a> Move for Address<'a>
impl<'a> RefUnwindSafe for Address<'a>
impl<'a> Send for Address<'a>
impl<'a> Sync for Address<'a>
impl<'a> Unpin for Address<'a>
impl<'a> UnsafeUnpin for Address<'a>
impl<'a> UnwindSafe for Address<'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