pub enum OpenIDConnect1Point0 {
Email,
Openid,
Profile,
}Expand description
OpenID Connect, 1.0
Variants§
Documentation: See your primary Google Account email address, Scope: email
Openid
Documentation: Associate you with your personal info on Google, Scope: openid
Profile
Documentation: See your personal info, including any personal info you’ve made publicly available, Scope: profile
Trait Implementations§
Source§impl Clone for OpenIDConnect1Point0
impl Clone for OpenIDConnect1Point0
Source§fn clone(&self) -> OpenIDConnect1Point0
fn clone(&self) -> OpenIDConnect1Point0
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenIDConnect1Point0
impl Debug for OpenIDConnect1Point0
Source§impl FromGoogleScope<OpenIDConnect1Point0> for OpenIDConnect1Point0
impl FromGoogleScope<OpenIDConnect1Point0> for OpenIDConnect1Point0
Source§fn from_google_scope(google_scope: &str) -> Result<OpenIDConnect1Point0, ()>
fn from_google_scope(google_scope: &str) -> Result<OpenIDConnect1Point0, ()>
Converting Google Scope string to enum
This might return
Err if you input an invalid Google Scope.Source§impl Hash for OpenIDConnect1Point0
impl Hash for OpenIDConnect1Point0
Source§impl PartialEq for OpenIDConnect1Point0
impl PartialEq for OpenIDConnect1Point0
Source§impl ToGoogleScope for OpenIDConnect1Point0
impl ToGoogleScope for OpenIDConnect1Point0
Source§fn to_google_scope(&self) -> &'static str
fn to_google_scope(&self) -> &'static str
Converting the enum back to
str literalimpl Copy for OpenIDConnect1Point0
impl Eq for OpenIDConnect1Point0
impl StructuralPartialEq for OpenIDConnect1Point0
Auto Trait Implementations§
impl Freeze for OpenIDConnect1Point0
impl RefUnwindSafe for OpenIDConnect1Point0
impl Send for OpenIDConnect1Point0
impl Sync for OpenIDConnect1Point0
impl Unpin for OpenIDConnect1Point0
impl UnwindSafe for OpenIDConnect1Point0
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