pub struct DefaultInstalledFlowDelegate;
Expand description
Uses all default implementations in the DeviceFlowDelegate trait.
Trait Implementations§
source§impl Clone for DefaultInstalledFlowDelegate
impl Clone for DefaultInstalledFlowDelegate
source§fn clone(&self) -> DefaultInstalledFlowDelegate
fn clone(&self) -> DefaultInstalledFlowDelegate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl InstalledFlowDelegate for DefaultInstalledFlowDelegate
impl InstalledFlowDelegate for DefaultInstalledFlowDelegate
source§fn redirect_uri(&self) -> Option<&str>
fn redirect_uri(&self) -> Option<&str>
Configure a custom redirect uri if needed.
source§fn present_user_url<'a>(
&'a self,
url: &'a str,
need_code: bool,
) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'a>>
fn present_user_url<'a>( &'a self, url: &'a str, need_code: bool, ) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + 'a>>
We need the user to navigate to a URL using their browser and potentially paste back a code
(or maybe not). Whether they have to enter a code depends on the InstalledFlowReturnMethod
used.
impl Copy for DefaultInstalledFlowDelegate
Auto Trait Implementations§
impl Freeze for DefaultInstalledFlowDelegate
impl RefUnwindSafe for DefaultInstalledFlowDelegate
impl Send for DefaultInstalledFlowDelegate
impl Sync for DefaultInstalledFlowDelegate
impl Unpin for DefaultInstalledFlowDelegate
impl UnwindSafe for DefaultInstalledFlowDelegate
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)