pub enum Scope {
Show 22 variants Announcement, AnnouncementReadonly, Course, CourseReadonly, CourseworkMe, CourseworkMeReadonly, CourseworkStudent, CourseworkStudentReadonly, Courseworkmaterial, CourseworkmaterialReadonly, GuardianlinkMeReadonly, GuardianlinkStudent, GuardianlinkStudentReadonly, ProfileEmail, ProfilePhoto, PushNotification, Roster, RosterReadonly, StudentSubmissionMeReadonly, StudentSubmissionStudentReadonly, Topic, TopicReadonly,
}
Expand description

Identifies the an OAuth2 authorization scope. A scope is needed when requesting an authorization token.

Variants§

§

Announcement

View and manage announcements in Google Classroom

§

AnnouncementReadonly

View announcements in Google Classroom

§

Course

See, edit, create, and permanently delete your Google Classroom classes

§

CourseReadonly

View your Google Classroom classes

§

CourseworkMe

See, create and edit coursework items including assignments, questions, and grades

§

CourseworkMeReadonly

View your course work and grades in Google Classroom

§

CourseworkStudent

Manage course work and grades for students in the Google Classroom classes you teach and view the course work and grades for classes you administer

§

CourseworkStudentReadonly

View course work and grades for students in the Google Classroom classes you teach or administer

§

Courseworkmaterial

See, edit, and create classwork materials in Google Classroom

§

CourseworkmaterialReadonly

See all classwork materials for your Google Classroom classes

§

GuardianlinkMeReadonly

View your Google Classroom guardians

§

GuardianlinkStudent

View and manage guardians for students in your Google Classroom classes

§

GuardianlinkStudentReadonly

View guardians for students in your Google Classroom classes

§

ProfileEmail

View the email addresses of people in your classes

§

ProfilePhoto

View the profile photos of people in your classes

§

PushNotification

Receive notifications about your Google Classroom data

§

Roster

Manage your Google Classroom class rosters

§

RosterReadonly

View your Google Classroom class rosters

§

StudentSubmissionMeReadonly

View your course work and grades in Google Classroom

§

StudentSubmissionStudentReadonly

View course work and grades for students in the Google Classroom classes you teach or administer

§

Topic

See, create, and edit topics in Google Classroom

§

TopicReadonly

View topics in Google Classroom

Trait Implementations§

Converts this type into a shared reference of the (usually inferred) input type.
Returns the “default value” for a type. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more