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>Placemark name.
address: Option<&'a str>Formatted address.
state: Option<&'a str>State or province.
city: Option<&'a str>City.
iso_country_code: Option<&'a str>ISO country or region code.
postal_code: Option<&'a str>Postal code.
country: Option<&'a str>Country or region name.
street: Option<&'a str>Street.
sub_administrative_area: Option<&'a str>Sub-administrative area.
sub_locality: Option<&'a str>Sub-locality.
Trait Implementations§
impl<'a> Eq for Placemark<'a>
Source§impl<'a> PartialEq for Placemark<'a>
impl<'a> PartialEq 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> UnsafeUnpin 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.