Enum google_classroom1::api::Scope
source · 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§
source§impl PartialEq<Scope> for Scope
impl PartialEq<Scope> for Scope
impl Eq for Scope
impl StructuralEq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.