#[non_exhaustive]pub struct ConnectionAuthResponseParametersBuilder { /* private fields */ }
Expand description
A builder for ConnectionAuthResponseParameters
.
Implementations§
source§impl ConnectionAuthResponseParametersBuilder
impl ConnectionAuthResponseParametersBuilder
sourcepub fn basic_auth_parameters(
self,
input: ConnectionBasicAuthResponseParameters
) -> Self
pub fn basic_auth_parameters( self, input: ConnectionBasicAuthResponseParameters ) -> Self
The authorization parameters for Basic authorization.
sourcepub fn set_basic_auth_parameters(
self,
input: Option<ConnectionBasicAuthResponseParameters>
) -> Self
pub fn set_basic_auth_parameters( self, input: Option<ConnectionBasicAuthResponseParameters> ) -> Self
The authorization parameters for Basic authorization.
sourcepub fn get_basic_auth_parameters(
&self
) -> &Option<ConnectionBasicAuthResponseParameters>
pub fn get_basic_auth_parameters( &self ) -> &Option<ConnectionBasicAuthResponseParameters>
The authorization parameters for Basic authorization.
sourcepub fn o_auth_parameters(self, input: ConnectionOAuthResponseParameters) -> Self
pub fn o_auth_parameters(self, input: ConnectionOAuthResponseParameters) -> Self
The OAuth parameters to use for authorization.
sourcepub fn set_o_auth_parameters(
self,
input: Option<ConnectionOAuthResponseParameters>
) -> Self
pub fn set_o_auth_parameters( self, input: Option<ConnectionOAuthResponseParameters> ) -> Self
The OAuth parameters to use for authorization.
sourcepub fn get_o_auth_parameters(
&self
) -> &Option<ConnectionOAuthResponseParameters>
pub fn get_o_auth_parameters( &self ) -> &Option<ConnectionOAuthResponseParameters>
The OAuth parameters to use for authorization.
sourcepub fn api_key_auth_parameters(
self,
input: ConnectionApiKeyAuthResponseParameters
) -> Self
pub fn api_key_auth_parameters( self, input: ConnectionApiKeyAuthResponseParameters ) -> Self
The API Key parameters to use for authorization.
sourcepub fn set_api_key_auth_parameters(
self,
input: Option<ConnectionApiKeyAuthResponseParameters>
) -> Self
pub fn set_api_key_auth_parameters( self, input: Option<ConnectionApiKeyAuthResponseParameters> ) -> Self
The API Key parameters to use for authorization.
sourcepub fn get_api_key_auth_parameters(
&self
) -> &Option<ConnectionApiKeyAuthResponseParameters>
pub fn get_api_key_auth_parameters( &self ) -> &Option<ConnectionApiKeyAuthResponseParameters>
The API Key parameters to use for authorization.
sourcepub fn invocation_http_parameters(self, input: ConnectionHttpParameters) -> Self
pub fn invocation_http_parameters(self, input: ConnectionHttpParameters) -> Self
Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
sourcepub fn set_invocation_http_parameters(
self,
input: Option<ConnectionHttpParameters>
) -> Self
pub fn set_invocation_http_parameters( self, input: Option<ConnectionHttpParameters> ) -> Self
Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
sourcepub fn get_invocation_http_parameters(
&self
) -> &Option<ConnectionHttpParameters>
pub fn get_invocation_http_parameters( &self ) -> &Option<ConnectionHttpParameters>
Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
sourcepub fn build(self) -> ConnectionAuthResponseParameters
pub fn build(self) -> ConnectionAuthResponseParameters
Consumes the builder and constructs a ConnectionAuthResponseParameters
.
Trait Implementations§
source§impl Clone for ConnectionAuthResponseParametersBuilder
impl Clone for ConnectionAuthResponseParametersBuilder
source§fn clone(&self) -> ConnectionAuthResponseParametersBuilder
fn clone(&self) -> ConnectionAuthResponseParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ConnectionAuthResponseParametersBuilder
impl Default for ConnectionAuthResponseParametersBuilder
source§fn default() -> ConnectionAuthResponseParametersBuilder
fn default() -> ConnectionAuthResponseParametersBuilder
source§impl PartialEq for ConnectionAuthResponseParametersBuilder
impl PartialEq for ConnectionAuthResponseParametersBuilder
source§fn eq(&self, other: &ConnectionAuthResponseParametersBuilder) -> bool
fn eq(&self, other: &ConnectionAuthResponseParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionAuthResponseParametersBuilder
Auto Trait Implementations§
impl Freeze for ConnectionAuthResponseParametersBuilder
impl RefUnwindSafe for ConnectionAuthResponseParametersBuilder
impl Send for ConnectionAuthResponseParametersBuilder
impl Sync for ConnectionAuthResponseParametersBuilder
impl Unpin for ConnectionAuthResponseParametersBuilder
impl UnwindSafe for ConnectionAuthResponseParametersBuilder
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
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>
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>
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 more