pub struct Claims {
pub iat: u64,
pub exp: u64,
pub iss: String,
}Expand description
Claims for a GitHub App JWT.
Fields§
§iat: u64Issued-at (Unix seconds), backdated by [CLOCK_SKEW_SECS].
exp: u64Expiry (Unix seconds).
iss: StringIssuer: the GitHub App ID or Client ID.
Implementations§
Trait Implementations§
impl Eq for Claims
impl StructuralPartialEq for Claims
Auto Trait Implementations§
impl Freeze for Claims
impl RefUnwindSafe for Claims
impl Send for Claims
impl Sync for Claims
impl Unpin for Claims
impl UnsafeUnpin for Claims
impl UnwindSafe for Claims
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