pub struct GitHubToken { /* private fields */ }Expand description
A GitHub access token returned by a session token provider.
expires_in_seconds is the positive remaining lifetime when the callback
completes. Production GitHub tokens typically last eight hours.
Implementations§
Source§impl GitHubToken
impl GitHubToken
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GitHubToken
impl RefUnwindSafe for GitHubToken
impl Send for GitHubToken
impl Sync for GitHubToken
impl Unpin for GitHubToken
impl UnsafeUnpin for GitHubToken
impl UnwindSafe for GitHubToken
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