pub struct GoogleMapsPlacesV1Photo {
pub author_attributions: Option<Vec<GoogleMapsPlacesV1AuthorAttribution>>,
pub flag_content_uri: Option<String>,
pub google_maps_uri: Option<String>,
pub height_px: Option<i32>,
pub name: Option<String>,
pub width_px: Option<i32>,
}Expand description
Information about a photo of a place.
This type is not used in any activity, and only used as part of another schema.
Fields§
This photo’s authors.
flag_content_uri: Option<String>A link where users can flag a problem with the photo.
google_maps_uri: Option<String>A link to show the photo on Google Maps.
height_px: Option<i32>The maximum available height, in pixels.
name: Option<String>Identifier. A reference representing this place photo which may be used to look up this place photo again (also called the API “resource” name: places/{place_id}/photos/{photo}).
width_px: Option<i32>The maximum available width, in pixels.
Trait Implementations§
Source§impl Clone for GoogleMapsPlacesV1Photo
impl Clone for GoogleMapsPlacesV1Photo
Source§fn clone(&self) -> GoogleMapsPlacesV1Photo
fn clone(&self) -> GoogleMapsPlacesV1Photo
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 Debug for GoogleMapsPlacesV1Photo
impl Debug for GoogleMapsPlacesV1Photo
Source§impl Default for GoogleMapsPlacesV1Photo
impl Default for GoogleMapsPlacesV1Photo
Source§fn default() -> GoogleMapsPlacesV1Photo
fn default() -> GoogleMapsPlacesV1Photo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleMapsPlacesV1Photo
impl<'de> Deserialize<'de> for GoogleMapsPlacesV1Photo
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
Source§impl Serialize for GoogleMapsPlacesV1Photo
impl Serialize for GoogleMapsPlacesV1Photo
impl Part for GoogleMapsPlacesV1Photo
Auto Trait Implementations§
impl Freeze for GoogleMapsPlacesV1Photo
impl RefUnwindSafe for GoogleMapsPlacesV1Photo
impl Send for GoogleMapsPlacesV1Photo
impl Sync for GoogleMapsPlacesV1Photo
impl Unpin for GoogleMapsPlacesV1Photo
impl UnwindSafe for GoogleMapsPlacesV1Photo
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