[−][src]Struct google_classroom1::Course
A Course in Classroom.
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).
- announcements modify assignees courses (none)
- course work student submissions patch courses (none)
- announcements list courses (none)
- teachers list courses (none)
- get courses (response)
- update courses (request|response)
- students get courses (none)
- teachers get courses (none)
- course work list courses (none)
- topics list courses (none)
- course work student submissions reclaim courses (none)
- course work student submissions list courses (none)
- course work student submissions turn in courses (none)
- course work student submissions modify attachments courses (none)
- announcements get courses (none)
- course work student submissions return courses (none)
- aliases list courses (none)
- course work get courses (none)
- course work create courses (none)
- list courses (none)
- announcements create courses (none)
- topics patch courses (none)
- announcements patch courses (none)
- aliases create courses (none)
- students create courses (none)
- course work modify assignees courses (none)
- aliases delete courses (none)
- course work delete courses (none)
- create courses (request|response)
- students list courses (none)
- delete courses (none)
- course work patch courses (none)
- topics delete courses (none)
- patch courses (request|response)
- students delete courses (none)
- teachers delete courses (none)
- teachers create courses (none)
- course work student submissions get courses (none)
- topics get courses (none)
- announcements delete courses (none)
- topics create courses (none)
Fields
update_time: Option<String>
Time of the most recent update to this course. Specifying this field in a course update mask results in an error.
Read-only.
description: Option<String>
Optional description. For example, "We'll be learning about the structure of living creatures from a combination of textbooks, guest lectures, and lab work. Expect to be excited!" If set, this field must be a valid UTF-8 string and no longer than 30,000 characters.
enrollment_code: Option<String>
Enrollment code to use when joining this course. Specifying this field in a course update mask results in an error.
Read-only.
guardians_enabled: Option<bool>
Whether or not guardian notifications are enabled for this course.
Read-only.
course_group_email: Option<String>
The email address of a Google group containing all members of the course. This group does not accept email and can only be used for permissions.
Read-only.
course_material_sets: Option<Vec<CourseMaterialSet>>
Sets of materials that appear on the "about" page of this course.
Read-only.
calendar_id: Option<String>
The Calendar ID for a calendar that all course members can see, to which Classroom adds events for course work and announcements in the course.
Read-only.
course_state: Option<String>
State of the course.
If unspecified, the default state is PROVISIONED
.
id: Option<String>
Identifier for this course assigned by Classroom.
When
creating a course,
you may optionally set this identifier to an
alias string in the
request to create a corresponding alias. The id
is still assigned by
Classroom and cannot be updated after the course is created.
Specifying this field in a course update mask results in an error.
name: Option<String>
Name of the course. For example, "10th Grade Biology". The name is required. It must be between 1 and 750 characters and a valid UTF-8 string.
room: Option<String>
Optional room location. For example, "301". If set, this field must be a valid UTF-8 string and no longer than 650 characters.
alternate_link: Option<String>
Absolute link to this course in the Classroom web UI.
Read-only.
section: Option<String>
Section of the course. For example, "Period 2". If set, this field must be a valid UTF-8 string and no longer than 2800 characters.
creation_time: Option<String>
Creation time of the course. Specifying this field in a course update mask results in an error.
Read-only.
teacher_group_email: Option<String>
The email address of a Google group containing all teachers of the course. This group does not accept email and can only be used for permissions.
Read-only.
teacher_folder: Option<DriveFolder>
Information about a Drive Folder that is shared with all teachers of the course.
This field will only be set for teachers of the course and domain administrators.
Read-only.
owner_id: Option<String>
The identifier of the owner of a course.
When specified as a parameter of a create course request, this field is required. The 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
This must be set in a create request. Admins can also specify this field in a patch course request to transfer ownership. In other contexts, it is read-only.
description_heading: Option<String>
Optional heading for the description. For example, "Welcome to 10th Grade Biology." If set, this field must be a valid UTF-8 string and no longer than 3600 characters.
Trait Implementations
impl Resource for Course
[src]
impl ResponseResult for Course
[src]
impl RequestValue for Course
[src]
impl Default for Course
[src]
impl Clone for Course
[src]
fn clone(&self) -> Course
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Course
[src]
impl Serialize for Course
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Course
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Course
impl Unpin for Course
impl Sync for Course
impl UnwindSafe for Course
impl RefUnwindSafe for Course
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,