#[non_exhaustive]pub struct ConnectionAuthResponseParameters {
pub basic_auth_parameters: Option<ConnectionBasicAuthResponseParameters>,
pub o_auth_parameters: Option<ConnectionOAuthResponseParameters>,
pub api_key_auth_parameters: Option<ConnectionApiKeyAuthResponseParameters>,
pub invocation_http_parameters: Option<ConnectionHttpParameters>,
}
Expand description
Contains the authorization parameters to use for the connection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.basic_auth_parameters: Option<ConnectionBasicAuthResponseParameters>
The authorization parameters for Basic authorization.
o_auth_parameters: Option<ConnectionOAuthResponseParameters>
The OAuth parameters to use for authorization.
api_key_auth_parameters: Option<ConnectionApiKeyAuthResponseParameters>
The API Key parameters to use for authorization.
invocation_http_parameters: Option<ConnectionHttpParameters>
Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
Implementations§
source§impl ConnectionAuthResponseParameters
impl ConnectionAuthResponseParameters
sourcepub fn basic_auth_parameters(
&self
) -> Option<&ConnectionBasicAuthResponseParameters>
pub fn basic_auth_parameters( &self ) -> Option<&ConnectionBasicAuthResponseParameters>
The authorization parameters for Basic authorization.
sourcepub fn o_auth_parameters(&self) -> Option<&ConnectionOAuthResponseParameters>
pub fn o_auth_parameters(&self) -> Option<&ConnectionOAuthResponseParameters>
The OAuth parameters to use for authorization.
sourcepub fn api_key_auth_parameters(
&self
) -> Option<&ConnectionApiKeyAuthResponseParameters>
pub fn api_key_auth_parameters( &self ) -> Option<&ConnectionApiKeyAuthResponseParameters>
The API Key parameters to use for authorization.
sourcepub fn invocation_http_parameters(&self) -> Option<&ConnectionHttpParameters>
pub fn invocation_http_parameters(&self) -> Option<&ConnectionHttpParameters>
Additional parameters for the connection that are passed through with every invocation to the HTTP endpoint.
source§impl ConnectionAuthResponseParameters
impl ConnectionAuthResponseParameters
sourcepub fn builder() -> ConnectionAuthResponseParametersBuilder
pub fn builder() -> ConnectionAuthResponseParametersBuilder
Creates a new builder-style object to manufacture ConnectionAuthResponseParameters
.
Trait Implementations§
source§impl Clone for ConnectionAuthResponseParameters
impl Clone for ConnectionAuthResponseParameters
source§fn clone(&self) -> ConnectionAuthResponseParameters
fn clone(&self) -> ConnectionAuthResponseParameters
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 PartialEq for ConnectionAuthResponseParameters
impl PartialEq for ConnectionAuthResponseParameters
source§fn eq(&self, other: &ConnectionAuthResponseParameters) -> bool
fn eq(&self, other: &ConnectionAuthResponseParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionAuthResponseParameters
Auto Trait Implementations§
impl Freeze for ConnectionAuthResponseParameters
impl RefUnwindSafe for ConnectionAuthResponseParameters
impl Send for ConnectionAuthResponseParameters
impl Sync for ConnectionAuthResponseParameters
impl Unpin for ConnectionAuthResponseParameters
impl UnwindSafe for ConnectionAuthResponseParameters
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.