Struct google_classroom1::api::Teacher
source · pub struct Teacher {
pub course_id: Option<String>,
pub profile: Option<UserProfile>,
pub user_id: Option<String>,
}
Expand description
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§
source§impl<'de> Deserialize<'de> for Teacher
impl<'de> Deserialize<'de> for Teacher
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 RequestValue for Teacher
impl ResponseResult for Teacher
Auto Trait Implementations§
impl RefUnwindSafe for Teacher
impl Send for Teacher
impl Sync for Teacher
impl Unpin for Teacher
impl UnwindSafe for Teacher
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