pub enum GoogleJWTErrorType {
UnauthorizedClient,
AccessDenied,
InvalidGrant,
InvalidScope,
DisabledClient,
}Expand description
Variants of different error messages types that the API can return. These are documented at Google’s API descriptions.
Variants§
Client was unauthorized to perform the request
AccessDenied
Credentials provided do not have approriate permissions
InvalidGrant
Non valid grant was provided
InvalidScope
Invalid scope was provided
DisabledClient
The OAuth client was disabled.
Trait Implementations§
Source§impl Debug for GoogleJWTErrorType
impl Debug for GoogleJWTErrorType
Source§impl<'de> Deserialize<'de> for GoogleJWTErrorType
impl<'de> Deserialize<'de> for GoogleJWTErrorType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GoogleJWTErrorType
impl PartialEq for GoogleJWTErrorType
impl StructuralPartialEq for GoogleJWTErrorType
Auto Trait Implementations§
impl Freeze for GoogleJWTErrorType
impl RefUnwindSafe for GoogleJWTErrorType
impl Send for GoogleJWTErrorType
impl Sync for GoogleJWTErrorType
impl Unpin for GoogleJWTErrorType
impl UnwindSafe for GoogleJWTErrorType
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