#[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
sourceimpl 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.
sourceimpl UpdateConnectionAuthRequestParameters
impl UpdateConnectionAuthRequestParameters
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateConnectionAuthRequestParameters
Trait Implementations
sourceimpl Clone for UpdateConnectionAuthRequestParameters
impl Clone for UpdateConnectionAuthRequestParameters
sourcefn clone(&self) -> UpdateConnectionAuthRequestParameters
fn clone(&self) -> UpdateConnectionAuthRequestParameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<UpdateConnectionAuthRequestParameters> for UpdateConnectionAuthRequestParameters
impl PartialEq<UpdateConnectionAuthRequestParameters> for UpdateConnectionAuthRequestParameters
sourcefn eq(&self, other: &UpdateConnectionAuthRequestParameters) -> bool
fn eq(&self, other: &UpdateConnectionAuthRequestParameters) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateConnectionAuthRequestParameters) -> bool
fn ne(&self, other: &UpdateConnectionAuthRequestParameters) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateConnectionAuthRequestParameters
Auto Trait Implementations
impl RefUnwindSafe for UpdateConnectionAuthRequestParameters
impl Send for UpdateConnectionAuthRequestParameters
impl Sync for UpdateConnectionAuthRequestParameters
impl Unpin for UpdateConnectionAuthRequestParameters
impl UnwindSafe for UpdateConnectionAuthRequestParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more