pub struct Placemark<'a> {
pub name: Option<&'a str>,
pub address: Option<&'a str>,
pub state: Option<&'a str>,
pub city: Option<&'a str>,
pub iso_country_code: Option<&'a str>,
pub postal_code: Option<&'a str>,
pub country: Option<&'a str>,
pub street: Option<&'a str>,
pub sub_administrative_area: Option<&'a str>,
pub sub_locality: Option<&'a str>,
}Expand description
Representation of Apple’s CLPlacemark object
Fields§
§name: Option<&'a str>The name of the placemark
address: Option<&'a str>The full address formatted associated with the placemark
state: Option<&'a str>The state or province associated with the placemark
city: Option<&'a str>The city associated with the placemark
iso_country_code: Option<&'a str>The abbreviated country or region name
postal_code: Option<&'a str>The postal code associated with the placemark
country: Option<&'a str>The name of the country or region associated with the placemark
street: Option<&'a str>The street associated with the placemark
sub_administrative_area: Option<&'a str>Additional administrative area information for the placemark
sub_locality: Option<&'a str>Additional city-level information for the placemark
Trait Implementations§
impl<'a> Eq for Placemark<'a>
impl<'a> StructuralPartialEq for Placemark<'a>
Auto Trait Implementations§
impl<'a> Freeze for Placemark<'a>
impl<'a> RefUnwindSafe for Placemark<'a>
impl<'a> Send for Placemark<'a>
impl<'a> Sync for Placemark<'a>
impl<'a> Unpin for Placemark<'a>
impl<'a> UnwindSafe for Placemark<'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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.