Struct google_drive2::api::User
source · pub struct User {
pub display_name: Option<String>,
pub email_address: Option<String>,
pub is_authenticated_user: Option<bool>,
pub kind: Option<String>,
pub permission_id: Option<String>,
pub picture: Option<UserPicture>,
}
Expand description
Information about a Drive user.
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_name: Option<String>
Output only. A plain text displayable name for this user.
email_address: Option<String>
Output only. The email address of the user.
is_authenticated_user: Option<bool>
Output only. Whether this user is the same as the authenticated user for whom the request was made.
kind: Option<String>
Output only. This is always drive#user
.
permission_id: Option<String>
Output only. The user’s ID as visible in the permissions collection.
picture: Option<UserPicture>
Output only. The user’s profile picture.
Trait Implementations§
source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
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 User
Auto Trait Implementations§
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
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