Enum google_calendar3::api::Scope
source · pub enum Scope {
Full,
Event,
EventReadonly,
Readonly,
SettingReadonly,
}
Expand description
Identifies the an OAuth2 authorization scope. A scope is needed when requesting an authorization token.
Variants§
Full
See, edit, share, and permanently delete all the calendars you can access using Google Calendar
Event
View and edit events on all your calendars
EventReadonly
View events on all your calendars
Readonly
See and download any calendar you can access using your Google Calendar
SettingReadonly
View your Calendar settings
Trait Implementations§
source§impl Ord for Scope
impl Ord for Scope
source§impl PartialEq for Scope
impl PartialEq for Scope
source§impl PartialOrd for Scope
impl PartialOrd for Scope
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Scope
impl Eq 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<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
Mutably borrows from an owned value. Read more
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
Compare self to
key
and return true
if they are equal.