#[non_exhaustive]pub struct BackendAuthSocialProviderConfigBuilder { /* private fields */ }
Expand description
A builder for BackendAuthSocialProviderConfig
.
Implementations§
source§impl BackendAuthSocialProviderConfigBuilder
impl BackendAuthSocialProviderConfigBuilder
sourcepub fn client_id(self, input: impl Into<String>) -> Self
pub fn client_id(self, input: impl Into<String>) -> Self
Describes the client_id, which can be obtained from the third-party social federation provider.
sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
Describes the client_id, which can be obtained from the third-party social federation provider.
sourcepub fn get_client_id(&self) -> &Option<String>
pub fn get_client_id(&self) -> &Option<String>
Describes the client_id, which can be obtained from the third-party social federation provider.
sourcepub fn client_secret(self, input: impl Into<String>) -> Self
pub fn client_secret(self, input: impl Into<String>) -> Self
Describes the client_secret, which can be obtained from third-party social federation providers.
sourcepub fn set_client_secret(self, input: Option<String>) -> Self
pub fn set_client_secret(self, input: Option<String>) -> Self
Describes the client_secret, which can be obtained from third-party social federation providers.
sourcepub fn get_client_secret(&self) -> &Option<String>
pub fn get_client_secret(&self) -> &Option<String>
Describes the client_secret, which can be obtained from third-party social federation providers.
sourcepub fn build(self) -> BackendAuthSocialProviderConfig
pub fn build(self) -> BackendAuthSocialProviderConfig
Consumes the builder and constructs a BackendAuthSocialProviderConfig
.
Trait Implementations§
source§impl Clone for BackendAuthSocialProviderConfigBuilder
impl Clone for BackendAuthSocialProviderConfigBuilder
source§fn clone(&self) -> BackendAuthSocialProviderConfigBuilder
fn clone(&self) -> BackendAuthSocialProviderConfigBuilder
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 Default for BackendAuthSocialProviderConfigBuilder
impl Default for BackendAuthSocialProviderConfigBuilder
source§fn default() -> BackendAuthSocialProviderConfigBuilder
fn default() -> BackendAuthSocialProviderConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BackendAuthSocialProviderConfigBuilder
impl PartialEq for BackendAuthSocialProviderConfigBuilder
source§fn eq(&self, other: &BackendAuthSocialProviderConfigBuilder) -> bool
fn eq(&self, other: &BackendAuthSocialProviderConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BackendAuthSocialProviderConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BackendAuthSocialProviderConfigBuilder
impl Send for BackendAuthSocialProviderConfigBuilder
impl Sync for BackendAuthSocialProviderConfigBuilder
impl Unpin for BackendAuthSocialProviderConfigBuilder
impl UnwindSafe for BackendAuthSocialProviderConfigBuilder
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.