#[non_exhaustive]pub struct BackendAuthAppleProviderConfigBuilder { /* private fields */ }
Expand description
A builder for BackendAuthAppleProviderConfig
.
Implementations§
source§impl BackendAuthAppleProviderConfigBuilder
impl BackendAuthAppleProviderConfigBuilder
sourcepub fn client_id(self, input: impl Into<String>) -> Self
pub fn client_id(self, input: impl Into<String>) -> Self
Describes the client_id (also called Services ID) that comes from Apple.
sourcepub fn set_client_id(self, input: Option<String>) -> Self
pub fn set_client_id(self, input: Option<String>) -> Self
Describes the client_id (also called Services ID) that comes from Apple.
sourcepub fn get_client_id(&self) -> &Option<String>
pub fn get_client_id(&self) -> &Option<String>
Describes the client_id (also called Services ID) that comes from Apple.
sourcepub fn key_id(self, input: impl Into<String>) -> Self
pub fn key_id(self, input: impl Into<String>) -> Self
Describes the key_id that comes from Apple.
sourcepub fn set_key_id(self, input: Option<String>) -> Self
pub fn set_key_id(self, input: Option<String>) -> Self
Describes the key_id that comes from Apple.
sourcepub fn get_key_id(&self) -> &Option<String>
pub fn get_key_id(&self) -> &Option<String>
Describes the key_id that comes from Apple.
sourcepub fn private_key(self, input: impl Into<String>) -> Self
pub fn private_key(self, input: impl Into<String>) -> Self
Describes the private_key that comes from Apple.
sourcepub fn set_private_key(self, input: Option<String>) -> Self
pub fn set_private_key(self, input: Option<String>) -> Self
Describes the private_key that comes from Apple.
sourcepub fn get_private_key(&self) -> &Option<String>
pub fn get_private_key(&self) -> &Option<String>
Describes the private_key that comes from Apple.
sourcepub fn team_id(self, input: impl Into<String>) -> Self
pub fn team_id(self, input: impl Into<String>) -> Self
Describes the team_id that comes from Apple.
sourcepub fn set_team_id(self, input: Option<String>) -> Self
pub fn set_team_id(self, input: Option<String>) -> Self
Describes the team_id that comes from Apple.
sourcepub fn get_team_id(&self) -> &Option<String>
pub fn get_team_id(&self) -> &Option<String>
Describes the team_id that comes from Apple.
sourcepub fn build(self) -> BackendAuthAppleProviderConfig
pub fn build(self) -> BackendAuthAppleProviderConfig
Consumes the builder and constructs a BackendAuthAppleProviderConfig
.
Trait Implementations§
source§impl Clone for BackendAuthAppleProviderConfigBuilder
impl Clone for BackendAuthAppleProviderConfigBuilder
source§fn clone(&self) -> BackendAuthAppleProviderConfigBuilder
fn clone(&self) -> BackendAuthAppleProviderConfigBuilder
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 BackendAuthAppleProviderConfigBuilder
impl Default for BackendAuthAppleProviderConfigBuilder
source§fn default() -> BackendAuthAppleProviderConfigBuilder
fn default() -> BackendAuthAppleProviderConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BackendAuthAppleProviderConfigBuilder
impl PartialEq for BackendAuthAppleProviderConfigBuilder
source§fn eq(&self, other: &BackendAuthAppleProviderConfigBuilder) -> bool
fn eq(&self, other: &BackendAuthAppleProviderConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BackendAuthAppleProviderConfigBuilder
Auto Trait Implementations§
impl Freeze for BackendAuthAppleProviderConfigBuilder
impl RefUnwindSafe for BackendAuthAppleProviderConfigBuilder
impl Send for BackendAuthAppleProviderConfigBuilder
impl Sync for BackendAuthAppleProviderConfigBuilder
impl Unpin for BackendAuthAppleProviderConfigBuilder
impl UnwindSafe for BackendAuthAppleProviderConfigBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.