Enum google_classroom1::api::Scope[][src]

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

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

impl AsRef<str> for Scope[src]

impl Default for Scope[src]

impl Eq for Scope[src]

impl Hash for Scope[src]

impl PartialEq<Scope> for Scope[src]

impl StructuralEq for Scope[src]

impl StructuralPartialEq for Scope[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.