Struct google_classroom1::api::UserProfile
source · pub struct UserProfile {
pub email_address: Option<String>,
pub id: Option<String>,
pub name: Option<Name>,
pub permissions: Option<Vec<GlobalPermission>>,
pub photo_url: Option<String>,
pub verified_teacher: Option<bool>,
}
Expand description
Global information for a user.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- guardian invitations create user profiles (none)
- guardian invitations get user profiles (none)
- guardian invitations list user profiles (none)
- guardian invitations patch user profiles (none)
- guardians delete user profiles (none)
- guardians get user profiles (none)
- guardians list user profiles (none)
- get user profiles (response)
Fields§
§email_address: Option<String>
Email address of the user. Must request https://www.googleapis.com/auth/classroom.profile.emails
scope for this field to be populated in a response body. Read-only.
id: Option<String>
Identifier of the user. Read-only.
name: Option<Name>
Name of the user. Read-only.
permissions: Option<Vec<GlobalPermission>>
Global permissions of the user. Read-only.
photo_url: Option<String>
URL of user’s profile photo. Must request https://www.googleapis.com/auth/classroom.profile.photos
scope for this field to be populated in a response body. Read-only.
verified_teacher: Option<bool>
Represents whether a Google Workspace for Education user’s domain administrator has explicitly verified them as being a teacher. This field is always false if the user is not a member of a Google Workspace for Education domain. Read-only
Trait Implementations§
source§impl Clone for UserProfile
impl Clone for UserProfile
source§fn clone(&self) -> UserProfile
fn clone(&self) -> UserProfile
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more