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 Ord for Scope
impl Ord for Scope
Source§impl PartialOrd for Scope
impl PartialOrd for Scope
impl Copy for Scope
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more