#[non_exhaustive]pub enum JwtIssuer {
ClientId,
AppId,
}Expand description
What the App JWT’s iss claim carries.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ClientId
The client id — GitHub’s recommendation on github.com.
AppId
The numeric App id — for GitHub Enterprise Server releases that do not accept a client id as issuer.
Trait Implementations§
impl Copy for JwtIssuer
impl Eq for JwtIssuer
impl StructuralPartialEq for JwtIssuer
Auto Trait Implementations§
impl Freeze for JwtIssuer
impl RefUnwindSafe for JwtIssuer
impl Send for JwtIssuer
impl Sync for JwtIssuer
impl Unpin for JwtIssuer
impl UnsafeUnpin for JwtIssuer
impl UnwindSafe for JwtIssuer
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.