pub struct GoogleMapsPlacesV1PlacePlusCode {
pub compound_code: Option<String>,
pub global_code: Option<String>,
}Expand description
Plus code (http://plus.codes) is a location reference with two formats: global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and compound code, replacing the prefix with a reference location.
This type is not used in any activity, and only used as part of another schema.
Fields§
§compound_code: Option<String>Place’s compound code, such as “33GV+HQ, Ramberg, Norway”, containing the suffix of the global code and replacing the prefix with a formatted name of a reference entity.
global_code: Option<String>Place’s global (full) code, such as “9FWM33GV+HQ”, representing an 1/8000 by 1/8000 degree area (~14 by 14 meters).
Trait Implementations§
Source§impl Clone for GoogleMapsPlacesV1PlacePlusCode
impl Clone for GoogleMapsPlacesV1PlacePlusCode
Source§fn clone(&self) -> GoogleMapsPlacesV1PlacePlusCode
fn clone(&self) -> GoogleMapsPlacesV1PlacePlusCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GoogleMapsPlacesV1PlacePlusCode
impl Default for GoogleMapsPlacesV1PlacePlusCode
Source§fn default() -> GoogleMapsPlacesV1PlacePlusCode
fn default() -> GoogleMapsPlacesV1PlacePlusCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleMapsPlacesV1PlacePlusCode
impl<'de> Deserialize<'de> for GoogleMapsPlacesV1PlacePlusCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleMapsPlacesV1PlacePlusCode
Auto Trait Implementations§
impl Freeze for GoogleMapsPlacesV1PlacePlusCode
impl RefUnwindSafe for GoogleMapsPlacesV1PlacePlusCode
impl Send for GoogleMapsPlacesV1PlacePlusCode
impl Sync for GoogleMapsPlacesV1PlacePlusCode
impl Unpin for GoogleMapsPlacesV1PlacePlusCode
impl UnwindSafe for GoogleMapsPlacesV1PlacePlusCode
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