#[non_exhaustive]pub struct UpdateConnectionOAuthRequestParameters {
pub client_parameters: Option<UpdateConnectionOAuthClientRequestParameters>,
pub authorization_endpoint: Option<String>,
pub http_method: Option<ConnectionOAuthHttpMethod>,
pub o_auth_http_parameters: Option<ConnectionHttpParameters>,
}
Expand description
Contains the OAuth request 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.client_parameters: Option<UpdateConnectionOAuthClientRequestParameters>
A UpdateConnectionOAuthClientRequestParameters
object that contains the client parameters to use for the connection when OAuth is specified as the authorization type.
The URL to the authorization endpoint when OAuth is specified as the authorization type.
http_method: Option<ConnectionOAuthHttpMethod>
The method used to connect to the HTTP endpoint.
o_auth_http_parameters: Option<ConnectionHttpParameters>
The additional HTTP parameters used for the OAuth authorization request.
Implementations§
source§impl UpdateConnectionOAuthRequestParameters
impl UpdateConnectionOAuthRequestParameters
sourcepub fn client_parameters(
&self
) -> Option<&UpdateConnectionOAuthClientRequestParameters>
pub fn client_parameters( &self ) -> Option<&UpdateConnectionOAuthClientRequestParameters>
A UpdateConnectionOAuthClientRequestParameters
object that contains the client parameters to use for the connection when OAuth is specified as the authorization type.
The URL to the authorization endpoint when OAuth is specified as the authorization type.
sourcepub fn http_method(&self) -> Option<&ConnectionOAuthHttpMethod>
pub fn http_method(&self) -> Option<&ConnectionOAuthHttpMethod>
The method used to connect to the HTTP endpoint.
sourcepub fn o_auth_http_parameters(&self) -> Option<&ConnectionHttpParameters>
pub fn o_auth_http_parameters(&self) -> Option<&ConnectionHttpParameters>
The additional HTTP parameters used for the OAuth authorization request.
source§impl UpdateConnectionOAuthRequestParameters
impl UpdateConnectionOAuthRequestParameters
sourcepub fn builder() -> UpdateConnectionOAuthRequestParametersBuilder
pub fn builder() -> UpdateConnectionOAuthRequestParametersBuilder
Creates a new builder-style object to manufacture UpdateConnectionOAuthRequestParameters
.
Trait Implementations§
source§impl Clone for UpdateConnectionOAuthRequestParameters
impl Clone for UpdateConnectionOAuthRequestParameters
source§fn clone(&self) -> UpdateConnectionOAuthRequestParameters
fn clone(&self) -> UpdateConnectionOAuthRequestParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateConnectionOAuthRequestParameters
impl PartialEq for UpdateConnectionOAuthRequestParameters
source§fn eq(&self, other: &UpdateConnectionOAuthRequestParameters) -> bool
fn eq(&self, other: &UpdateConnectionOAuthRequestParameters) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateConnectionOAuthRequestParameters
Auto Trait Implementations§
impl Freeze for UpdateConnectionOAuthRequestParameters
impl RefUnwindSafe for UpdateConnectionOAuthRequestParameters
impl Send for UpdateConnectionOAuthRequestParameters
impl Sync for UpdateConnectionOAuthRequestParameters
impl Unpin for UpdateConnectionOAuthRequestParameters
impl UnwindSafe for UpdateConnectionOAuthRequestParameters
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