pub struct SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, S: State = Empty>where
P: SimpleOAuthProvider,{ /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<'f1, 'f2, 'f3, P, S: State> SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, S>where
P: SimpleOAuthProvider,
impl<'f1, 'f2, 'f3, P, S: State> SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, S>where
P: SimpleOAuthProvider,
Sourcepub fn build(self) -> Result<AuthorizeUrl, SimpleOAuthError>where
S: IsComplete,
pub fn build(self) -> Result<AuthorizeUrl, SimpleOAuthError>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn redirect_url(
self,
value: impl Into<String>,
) -> SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, SetRedirectUrl<S>>where
S::RedirectUrl: IsUnset,
pub fn redirect_url(
self,
value: impl Into<String>,
) -> SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, SetRedirectUrl<S>>where
S::RedirectUrl: IsUnset,
Sourcepub fn maybe_redirect_url(
self,
value: Option<impl Into<String>>,
) -> SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, SetRedirectUrl<S>>where
S::RedirectUrl: IsUnset,
pub fn maybe_redirect_url(
self,
value: Option<impl Into<String>>,
) -> SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, SetRedirectUrl<S>>where
S::RedirectUrl: IsUnset,
Sourcepub fn scopes(
self,
value: &'f3 [&'f2 str],
) -> SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, SetScopes<S>>where
S::Scopes: IsUnset,
pub fn scopes(
self,
value: &'f3 [&'f2 str],
) -> SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, SetScopes<S>>where
S::Scopes: IsUnset,
Sourcepub fn maybe_scopes(
self,
value: Option<&'f3 [&'f2 str]>,
) -> SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, SetScopes<S>>where
S::Scopes: IsUnset,
pub fn maybe_scopes(
self,
value: Option<&'f3 [&'f2 str]>,
) -> SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, SetScopes<S>>where
S::Scopes: IsUnset,
Auto Trait Implementations§
impl<'f1, 'f2, 'f3, P, S = Empty> !RefUnwindSafe for SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, S>
impl<'f1, 'f2, 'f3, P, S = Empty> !UnwindSafe for SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, S>
impl<'f1, 'f2, 'f3, P, S> Freeze for SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, S>
impl<'f1, 'f2, 'f3, P, S> Send for SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, S>
impl<'f1, 'f2, 'f3, P, S> Sync for SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, S>
impl<'f1, 'f2, 'f3, P, S> Unpin for SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, S>
impl<'f1, 'f2, 'f3, P, S> UnsafeUnpin for SimpleOAuthClientAuthorizeUrlBuilder<'f1, 'f2, 'f3, P, S>
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