#[non_exhaustive]pub struct CreateConnectionAuthRequestParameters {
pub basic_auth_parameters: Option<CreateConnectionBasicAuthRequestParameters>,
pub o_auth_parameters: Option<CreateConnectionOAuthRequestParameters>,
pub api_key_auth_parameters: Option<CreateConnectionApiKeyAuthRequestParameters>,
pub invocation_http_parameters: Option<ConnectionHttpParameters>,
}Expand description
Contains the authorization parameters 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<CreateConnectionBasicAuthRequestParameters>A CreateConnectionBasicAuthRequestParameters object that contains the Basic authorization parameters to use for the connection.
o_auth_parameters: Option<CreateConnectionOAuthRequestParameters>A CreateConnectionOAuthRequestParameters object that contains the OAuth authorization parameters to use for the connection.
api_key_auth_parameters: Option<CreateConnectionApiKeyAuthRequestParameters>A CreateConnectionApiKeyAuthRequestParameters object that contains the API key authorization parameters to use for the connection.
invocation_http_parameters: Option<ConnectionHttpParameters>A ConnectionHttpParameters object that contains the API key authorization parameters to use for the connection. Note that if you include additional parameters for the target of a rule via HttpParameters, including query strings, the parameters added for the connection take precedence.
Implementations
A CreateConnectionBasicAuthRequestParameters object that contains the Basic authorization parameters to use for the connection.
A CreateConnectionOAuthRequestParameters object that contains the OAuth authorization parameters to use for the connection.
pub fn api_key_auth_parameters(
&self
) -> Option<&CreateConnectionApiKeyAuthRequestParameters>
pub fn api_key_auth_parameters(
&self
) -> Option<&CreateConnectionApiKeyAuthRequestParameters>
A CreateConnectionApiKeyAuthRequestParameters object that contains the API key authorization parameters to use for the connection.
A ConnectionHttpParameters object that contains the API key authorization parameters to use for the connection. Note that if you include additional parameters for the target of a rule via HttpParameters, including query strings, the parameters added for the connection take precedence.
Creates a new builder-style object to manufacture CreateConnectionAuthRequestParameters
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
