pub trait ICNPostalAddress: PNSObject {
// Provided methods
fn p_street(&self) -> NSString { ... }
fn p_city(&self) -> NSString { ... }
fn p_state(&self) -> NSString { ... }
fn p_postal_code(&self) -> NSString { ... }
fn p_country(&self) -> NSString { ... }
fn p_iso_country_code(&self) -> NSString { ... }
fn p_sub_administrative_area(&self) -> NSString { ... }
fn p_sub_locality(&self) -> NSString { ... }
}Expand description
A trait containing all the methods for CNPostalAddress
Provided Methods§
Sourcefn p_postal_code(&self) -> NSString
fn p_postal_code(&self) -> NSString
The postal code in a postal address.
Sourcefn p_iso_country_code(&self) -> NSString
fn p_iso_country_code(&self) -> NSString
The ISO country code for the country or region in a postal address, using the ISO 3166-1 alpha-2 standard.
Sourcefn p_sub_administrative_area(&self) -> NSString
fn p_sub_administrative_area(&self) -> NSString
The subadministrative area (such as a county or other region) in a postal address.
Sourcefn p_sub_locality(&self) -> NSString
fn p_sub_locality(&self) -> NSString
Additional information associated with the location, typically defined at the city or town level, in a postal address.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.