pub struct GoogleMapsPlacesV1AddressDescriptor {
pub areas: Option<Vec<GoogleMapsPlacesV1AddressDescriptorArea>>,
pub landmarks: Option<Vec<GoogleMapsPlacesV1AddressDescriptorLandmark>>,
}Expand description
A relational description of a location. Includes a ranked set of nearby landmarks and precise containing areas and their relationship to the target location.
This type is not used in any activity, and only used as part of another schema.
Fields§
§areas: Option<Vec<GoogleMapsPlacesV1AddressDescriptorArea>>A ranked list of containing or adjacent areas. The most recognizable and precise areas are ranked first.
landmarks: Option<Vec<GoogleMapsPlacesV1AddressDescriptorLandmark>>A ranked list of nearby landmarks. The most recognizable and nearby landmarks are ranked first.
Trait Implementations§
Source§impl Clone for GoogleMapsPlacesV1AddressDescriptor
impl Clone for GoogleMapsPlacesV1AddressDescriptor
Source§fn clone(&self) -> GoogleMapsPlacesV1AddressDescriptor
fn clone(&self) -> GoogleMapsPlacesV1AddressDescriptor
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 GoogleMapsPlacesV1AddressDescriptor
impl Default for GoogleMapsPlacesV1AddressDescriptor
Source§fn default() -> GoogleMapsPlacesV1AddressDescriptor
fn default() -> GoogleMapsPlacesV1AddressDescriptor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleMapsPlacesV1AddressDescriptor
impl<'de> Deserialize<'de> for GoogleMapsPlacesV1AddressDescriptor
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 GoogleMapsPlacesV1AddressDescriptor
Auto Trait Implementations§
impl Freeze for GoogleMapsPlacesV1AddressDescriptor
impl RefUnwindSafe for GoogleMapsPlacesV1AddressDescriptor
impl Send for GoogleMapsPlacesV1AddressDescriptor
impl Sync for GoogleMapsPlacesV1AddressDescriptor
impl Unpin for GoogleMapsPlacesV1AddressDescriptor
impl UnwindSafe for GoogleMapsPlacesV1AddressDescriptor
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