pub struct GithubProviderWithDevice { /* private fields */ }
Implementations
sourceimpl GithubProviderWithDevice
impl GithubProviderWithDevice
pub fn new(client_id: ClientId) -> Result<Self, UrlParseError>
Trait Implementations
sourceimpl Clone for GithubProviderWithDevice
impl Clone for GithubProviderWithDevice
sourcefn clone(&self) -> GithubProviderWithDevice
fn clone(&self) -> GithubProviderWithDevice
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GithubProviderWithDevice
impl Debug for GithubProviderWithDevice
sourceimpl Provider for GithubProviderWithDevice
impl Provider for GithubProviderWithDevice
sourceimpl ProviderExtDeviceAuthorizationGrant for GithubProviderWithDevice
impl ProviderExtDeviceAuthorizationGrant for GithubProviderWithDevice
fn scopes_default(&self) -> Option<Vec<Self::Scope, Global>>
fn device_access_token_request_body_extra(
&self,
_body: &BodyWithDeviceAuthorizationGrant,
_device_authorization_response_body: &SuccessfulBody
) -> Option<Map<String, Value>>
fn device_access_token_request_rendering(
&self,
_body: &BodyWithDeviceAuthorizationGrant,
_device_authorization_response_body: &SuccessfulBody
) -> Option<Result<Request<Vec<u8, Global>>, Box<dyn Error + Sync + Send + 'static, Global>>>
fn device_access_token_response_parsing(
&self,
_response: &Response<Vec<u8, Global>>
) -> Option<Result<Result<Result<SuccessfulBody<Self::Scope>, ErrorBody>, DeviceAccessTokenEndpointRetryReason>, Box<dyn Error + Sync + Send + 'static, Global>>>
Auto Trait Implementations
impl RefUnwindSafe for GithubProviderWithDevice
impl Send for GithubProviderWithDevice
impl Sync for GithubProviderWithDevice
impl Unpin for GithubProviderWithDevice
impl UnwindSafe for GithubProviderWithDevice
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more