Struct google_photoslibrary1::api::MapEnrichment
source · pub struct MapEnrichment {
pub destination: Option<Location>,
pub origin: Option<Location>,
}
Expand description
An enrichment containing a map, showing origin and destination locations.
This type is not used in any activity, and only used as part of another schema.
Fields§
§destination: Option<Location>
Destination location for this enrichemt item.
origin: Option<Location>
Origin location for this enrichment item.
Trait Implementations§
source§impl Clone for MapEnrichment
impl Clone for MapEnrichment
source§fn clone(&self) -> MapEnrichment
fn clone(&self) -> MapEnrichment
Returns a copy 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 MapEnrichment
impl Debug for MapEnrichment
source§impl Default for MapEnrichment
impl Default for MapEnrichment
source§fn default() -> MapEnrichment
fn default() -> MapEnrichment
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MapEnrichment
impl<'de> Deserialize<'de> for MapEnrichment
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 MapEnrichment
impl Serialize for MapEnrichment
impl Part for MapEnrichment
Auto Trait Implementations§
impl RefUnwindSafe for MapEnrichment
impl Send for MapEnrichment
impl Sync for MapEnrichment
impl Unpin for MapEnrichment
impl UnwindSafe for MapEnrichment
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