pub struct GoogleProviderForTvAndDeviceApps { /* private fields */ }
Implementations§
Source§impl GoogleProviderForTvAndDeviceApps
impl GoogleProviderForTvAndDeviceApps
pub fn new( client_id: ClientId, client_secret: ClientSecret, ) -> Result<Self, UrlParseError>
Trait Implementations§
Source§impl Clone for GoogleProviderForTvAndDeviceApps
impl Clone for GoogleProviderForTvAndDeviceApps
Source§fn clone(&self) -> GoogleProviderForTvAndDeviceApps
fn clone(&self) -> GoogleProviderForTvAndDeviceApps
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl ProviderExtDeviceAuthorizationGrant for GoogleProviderForTvAndDeviceApps
impl ProviderExtDeviceAuthorizationGrant for GoogleProviderForTvAndDeviceApps
fn scopes_default(&self) -> Option<Vec<Self::Scope>>
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>>, Box<dyn Error + Sync + Send>>>
fn device_access_token_response_parsing( &self, _response: &Response<Vec<u8>>, ) -> Option<Result<Result<Result<SuccessfulBody<Self::Scope>, ErrorBody>, DeviceAccessTokenEndpointRetryReason>, Box<dyn Error + Sync + Send>>>
Auto Trait Implementations§
impl Freeze for GoogleProviderForTvAndDeviceApps
impl RefUnwindSafe for GoogleProviderForTvAndDeviceApps
impl Send for GoogleProviderForTvAndDeviceApps
impl Sync for GoogleProviderForTvAndDeviceApps
impl Unpin for GoogleProviderForTvAndDeviceApps
impl UnwindSafe for GoogleProviderForTvAndDeviceApps
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