Struct google_classroom1::Teacher
[−]
[src]
pub struct Teacher { pub course_id: Option<String>, pub profile: Option<UserProfile>, pub user_id: Option<String>, }
Teacher of a course.
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).
- teachers create courses (request|response)
- teachers get courses (response)
Fields
course_id: Option<String>
Identifier of the course.
Read-only.
profile: Option<UserProfile>
Global user information for the teacher.
Read-only.
user_id: Option<String>
Identifier of the user.
When specified as a parameter of a request, this identifier can be one of the following:
- the numeric identifier for the user
- the email address of the user
- the string literal
"me"
, indicating the requesting user
Trait Implementations
impl Default for Teacher
[src]
impl Clone for Teacher
[src]
fn clone(&self) -> Teacher
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more