Trait ICNMutablePostalAddress

Source
pub trait ICNMutablePostalAddress: ICNPostalAddress {
    // Provided methods
    fn p_set_street(&mut self, street: NSString) { ... }
    fn p_set_city(&mut self, city: NSString) { ... }
    fn p_set_state(&mut self, state: NSString) { ... }
    fn p_set_postal_code(&mut self, postal_code: NSString) { ... }
    fn p_set_country(&mut self, country: NSString) { ... }
    fn p_set_iso_country_code(&mut self, iso_country_code: NSString) { ... }
    fn p_set_sub_administrative_area(
        &mut self,
        sub_administrative_area: NSString,
    ) { ... }
    fn p_set_sub_locality(&mut self, sub_locality: NSString) { ... }
}
Expand description

A trait containing all the methods for CNMutablePostalAddress

Provided Methods§

Source

fn p_set_street(&mut self, street: NSString)

The street name of the address.

Source

fn p_set_city(&mut self, city: NSString)

The city name of the address.

Source

fn p_set_state(&mut self, state: NSString)

The state name of the address.

Source

fn p_set_postal_code(&mut self, postal_code: NSString)

The postal code of the address.

Source

fn p_set_country(&mut self, country: NSString)

The country or region name of the address.

Source

fn p_set_iso_country_code(&mut self, iso_country_code: NSString)

The ISO country code, using the ISO 3166-1 alpha-2 standard.

Source

fn p_set_sub_administrative_area(&mut self, sub_administrative_area: NSString)

The subadministrative area (such as a county or other region) in a postal address.

Source

fn p_set_sub_locality(&mut self, sub_locality: 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.

Implementors§