Enum google_plus1::api::Scope
source · pub enum Scope {
Login,
Me,
UserinfoEmail,
UserinfoProfile,
}Expand description
Identifies the an OAuth2 authorization scope. A scope is needed when requesting an authorization token.
Variants§
Login
View your basic profile info, including your age range and language
Me
Associate you with your personal info on Google
UserinfoEmail
View your email address
UserinfoProfile
See your personal info, including any personal info you’ve made publicly available
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
Compare self to
key and return true if they are equal.