pub struct KnownUser {
pub is_current_user: Option<bool>,
pub person_name: Option<String>,
}Expand description
A known user.
This type is not used in any activity, and only used as part of another schema.
Fields§
§is_current_user: Option<bool>True if this is the user making the request.
person_name: Option<String>The identifier for this user that can be used with the People API to get more information. The format is people/ACCOUNT_ID. See https://developers.google.com/people/.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KnownUser
impl<'de> Deserialize<'de> for KnownUser
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 KnownUser
Auto Trait Implementations§
impl Freeze for KnownUser
impl RefUnwindSafe for KnownUser
impl Send for KnownUser
impl Sync for KnownUser
impl Unpin for KnownUser
impl UnwindSafe for KnownUser
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