#[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 ==
.