pub struct GitHubOAuth { /* private fields */ }Expand description
Sign-in through the app’s GitHub OAuth App.
Implementations§
Source§impl GitHubOAuth
impl GitHubOAuth
Sourcepub fn for_client(client: OAuthClient) -> Self
pub fn for_client(client: OAuthClient) -> Self
client, with the build’s endpoints.
pub fn new(client: OAuthClient, endpoints: Endpoints) -> Self
Sourcepub fn with_time_limit(self, time_limit: Duration) -> Self
pub fn with_time_limit(self, time_limit: Duration) -> Self
A shorter wait, for tests.
Trait Implementations§
Source§impl Authenticator for GitHubOAuth
impl Authenticator for GitHubOAuth
Source§impl Clone for GitHubOAuth
impl Clone for GitHubOAuth
Auto Trait Implementations§
impl Forget for GitHubOAuth
impl Freeze for GitHubOAuth
impl Move for GitHubOAuth
impl RefUnwindSafe for GitHubOAuth
impl Send for GitHubOAuthwhere
RawVecInner: Send,
impl Sync for GitHubOAuthwhere
RawVecInner: Sync,
impl Unpin for GitHubOAuth
impl UnsafeUnpin for GitHubOAuth
impl UnwindSafe for GitHubOAuthwhere
RawVecInner: UnwindSafe,
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