Struct google_mybusiness4::api::Author
source · pub struct Author {
pub display_name: Option<String>,
pub profile_photo_url: Option<String>,
pub type_: Option<String>,
}
Expand description
Represents the author of a question or answer
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_name: Option<String>
The display name of the user
profile_photo_url: Option<String>
The profile photo URL of the user.
type_: Option<String>
The type of user the author is.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Author
impl<'de> Deserialize<'de> for Author
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 Author
Auto Trait Implementations§
impl RefUnwindSafe for Author
impl Send for Author
impl Sync for Author
impl Unpin for Author
impl UnwindSafe for Author
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