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