#[non_exhaustive]pub struct UpdateConnectionAuthRequestParameters {
pub basic_auth_parameters: Option<UpdateConnectionBasicAuthRequestParameters>,
pub o_auth_parameters: Option<UpdateConnectionOAuthRequestParameters>,
pub api_key_auth_parameters: Option<UpdateConnectionApiKeyAuthRequestParameters>,
pub invocation_http_parameters: Option<ConnectionHttpParameters>,
}
Expand description
Contains the additional parameters to use for the connection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.basic_auth_parameters: Option<UpdateConnectionBasicAuthRequestParameters>
A UpdateConnectionBasicAuthRequestParameters
object that contains the authorization parameters for Basic authorization.
o_auth_parameters: Option<UpdateConnectionOAuthRequestParameters>
A UpdateConnectionOAuthRequestParameters
object that contains the authorization parameters for OAuth authorization.
api_key_auth_parameters: Option<UpdateConnectionApiKeyAuthRequestParameters>
A UpdateConnectionApiKeyAuthRequestParameters
object that contains the authorization parameters for API key authorization.
invocation_http_parameters: Option<ConnectionHttpParameters>
A ConnectionHttpParameters
object that contains the additional parameters to use for the connection.
Implementations§
source§impl UpdateConnectionAuthRequestParameters
impl UpdateConnectionAuthRequestParameters
sourcepub fn basic_auth_parameters(
&self
) -> Option<&UpdateConnectionBasicAuthRequestParameters>
pub fn basic_auth_parameters( &self ) -> Option<&UpdateConnectionBasicAuthRequestParameters>
A UpdateConnectionBasicAuthRequestParameters
object that contains the authorization parameters for Basic authorization.
sourcepub fn o_auth_parameters(
&self
) -> Option<&UpdateConnectionOAuthRequestParameters>
pub fn o_auth_parameters( &self ) -> Option<&UpdateConnectionOAuthRequestParameters>
A UpdateConnectionOAuthRequestParameters
object that contains the authorization parameters for OAuth authorization.
sourcepub fn api_key_auth_parameters(
&self
) -> Option<&UpdateConnectionApiKeyAuthRequestParameters>
pub fn api_key_auth_parameters( &self ) -> Option<&UpdateConnectionApiKeyAuthRequestParameters>
A UpdateConnectionApiKeyAuthRequestParameters
object that contains the authorization parameters for API key authorization.
sourcepub fn invocation_http_parameters(&self) -> Option<&ConnectionHttpParameters>
pub fn invocation_http_parameters(&self) -> Option<&ConnectionHttpParameters>
A ConnectionHttpParameters
object that contains the additional parameters to use for the connection.
source§impl UpdateConnectionAuthRequestParameters
impl UpdateConnectionAuthRequestParameters
sourcepub fn builder() -> UpdateConnectionAuthRequestParametersBuilder
pub fn builder() -> UpdateConnectionAuthRequestParametersBuilder
Creates a new builder-style object to manufacture UpdateConnectionAuthRequestParameters
.
Trait Implementations§
source§impl Clone for UpdateConnectionAuthRequestParameters
impl Clone for UpdateConnectionAuthRequestParameters
source§fn clone(&self) -> UpdateConnectionAuthRequestParameters
fn clone(&self) -> UpdateConnectionAuthRequestParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateConnectionAuthRequestParameters
impl PartialEq for UpdateConnectionAuthRequestParameters
source§fn eq(&self, other: &UpdateConnectionAuthRequestParameters) -> bool
fn eq(&self, other: &UpdateConnectionAuthRequestParameters) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateConnectionAuthRequestParameters
Auto Trait Implementations§
impl Freeze for UpdateConnectionAuthRequestParameters
impl RefUnwindSafe for UpdateConnectionAuthRequestParameters
impl Send for UpdateConnectionAuthRequestParameters
impl Sync for UpdateConnectionAuthRequestParameters
impl Unpin for UpdateConnectionAuthRequestParameters
impl UnwindSafe for UpdateConnectionAuthRequestParameters
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