Struct google_mybusiness4::api::Attribution
source · pub struct Attribution {
pub profile_name: Option<String>,
pub profile_photo_url: Option<String>,
pub profile_url: Option<String>,
pub takedown_url: Option<String>,
}
Expand description
Attribution information for customer media items, such as the contributor’s name and profile picture.
This type is not used in any activity, and only used as part of another schema.
Fields§
§profile_name: Option<String>
The user name to attribute the media item to.
profile_photo_url: Option<String>
URL of the attributed user’s profile photo thumbnail.
profile_url: Option<String>
The URL of the attributed user’s Google Maps profile page.
takedown_url: Option<String>
The URL of the takedown page, where the media item can be reported if it is inappropriate.
Trait Implementations§
source§impl Clone for Attribution
impl Clone for Attribution
source§fn clone(&self) -> Attribution
fn clone(&self) -> Attribution
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 Attribution
impl Debug for Attribution
source§impl Default for Attribution
impl Default for Attribution
source§fn default() -> Attribution
fn default() -> Attribution
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Attribution
impl<'de> Deserialize<'de> for Attribution
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 Attribution
impl Serialize for Attribution
impl Part for Attribution
Auto Trait Implementations§
impl RefUnwindSafe for Attribution
impl Send for Attribution
impl Sync for Attribution
impl Unpin for Attribution
impl UnwindSafe for Attribution
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