Struct kenall_rs::model::PostalBlock [−][src]
Fields
jisx0402: String
JIS code
old_code: String
Old postal code (ex: 100)
postal_code: String
Latest postal code.7digits.(ex: 1008105)
prefecture_kana: String
Prefectures described with full width kana (ex: トウキョウト)
city_kana: String
City described with full width kana (ex: チヨダク)
town_kana: String
Town described with full width kana (ex: チヨダ) It has a know issue
town_kana_raw: String
Town on the postal code database that described by full width kana (ex: チヨダ)
prefecture: String
Prefecture (ex: 東京都)
city: String
Municipality
town: String
Based on a name of the town with brackets excluded and joined multiple lines
koaza: String
Koaza (ex: 2丁目)
kyoto_street: String
Kyoto specific street
building: String
Name of the building (ex: オフィスタワーX)
floor: String
Floor of the building (ex: 3階)
town_partial: bool
If the area of the town has more then 2 postal code, return true
.
town_addressed_koaza: bool
Wide town area (大域) has multiple Koaza(小字) and each Koaza has specific house number
,
thus people can not specify the address from postcal code and an address.
town_chome: bool
Town area(町域) that owns district number(丁目)
town_multi: bool
In some case, single postal code has multiple wotn area(町域) and return true in that case
town_raw: String
Name of the town area on postcal code database
corporation: Option<Corporation>
If the data matches individual corporate number, an additional data will be returned.
Trait Implementations
impl Debug for PostalBlock
[src]
impl<'de> Deserialize<'de> for PostalBlock
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<PostalBlock> for PostalBlock
[src]
fn eq(&self, other: &PostalBlock) -> bool
[src]
fn ne(&self, other: &PostalBlock) -> bool
[src]
impl StructuralPartialEq for PostalBlock
[src]
Auto Trait Implementations
impl RefUnwindSafe for PostalBlock
impl Send for PostalBlock
impl Sync for PostalBlock
impl Unpin for PostalBlock
impl UnwindSafe for PostalBlock
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,