#[non_exhaustive]pub struct ConnectionOAuthResponseParametersBuilder { /* private fields */ }
Expand description
A builder for ConnectionOAuthResponseParameters
.
Implementations§
source§impl ConnectionOAuthResponseParametersBuilder
impl ConnectionOAuthResponseParametersBuilder
sourcepub fn client_parameters(
self,
input: ConnectionOAuthClientResponseParameters
) -> Self
pub fn client_parameters( self, input: ConnectionOAuthClientResponseParameters ) -> Self
A ConnectionOAuthClientResponseParameters
object that contains details about the client parameters returned when OAuth is specified as the authorization type.
sourcepub fn set_client_parameters(
self,
input: Option<ConnectionOAuthClientResponseParameters>
) -> Self
pub fn set_client_parameters( self, input: Option<ConnectionOAuthClientResponseParameters> ) -> Self
A ConnectionOAuthClientResponseParameters
object that contains details about the client parameters returned when OAuth is specified as the authorization type.
sourcepub fn get_client_parameters(
&self
) -> &Option<ConnectionOAuthClientResponseParameters>
pub fn get_client_parameters( &self ) -> &Option<ConnectionOAuthClientResponseParameters>
A ConnectionOAuthClientResponseParameters
object that contains details about the client parameters returned when OAuth is specified as the authorization type.
The URL to the HTTP endpoint that authorized the request.
The URL to the HTTP endpoint that authorized the request.
The URL to the HTTP endpoint that authorized the request.
sourcepub fn http_method(self, input: ConnectionOAuthHttpMethod) -> Self
pub fn http_method(self, input: ConnectionOAuthHttpMethod) -> Self
The method used to connect to the HTTP endpoint.
sourcepub fn set_http_method(self, input: Option<ConnectionOAuthHttpMethod>) -> Self
pub fn set_http_method(self, input: Option<ConnectionOAuthHttpMethod>) -> Self
The method used to connect to the HTTP endpoint.
sourcepub fn get_http_method(&self) -> &Option<ConnectionOAuthHttpMethod>
pub fn get_http_method(&self) -> &Option<ConnectionOAuthHttpMethod>
The method used to connect to the HTTP endpoint.
sourcepub fn o_auth_http_parameters(self, input: ConnectionHttpParameters) -> Self
pub fn o_auth_http_parameters(self, input: ConnectionHttpParameters) -> Self
The additional HTTP parameters used for the OAuth authorization request.
sourcepub fn set_o_auth_http_parameters(
self,
input: Option<ConnectionHttpParameters>
) -> Self
pub fn set_o_auth_http_parameters( self, input: Option<ConnectionHttpParameters> ) -> Self
The additional HTTP parameters used for the OAuth authorization request.
sourcepub fn get_o_auth_http_parameters(&self) -> &Option<ConnectionHttpParameters>
pub fn get_o_auth_http_parameters(&self) -> &Option<ConnectionHttpParameters>
The additional HTTP parameters used for the OAuth authorization request.
sourcepub fn build(self) -> ConnectionOAuthResponseParameters
pub fn build(self) -> ConnectionOAuthResponseParameters
Consumes the builder and constructs a ConnectionOAuthResponseParameters
.
Trait Implementations§
source§impl Clone for ConnectionOAuthResponseParametersBuilder
impl Clone for ConnectionOAuthResponseParametersBuilder
source§fn clone(&self) -> ConnectionOAuthResponseParametersBuilder
fn clone(&self) -> ConnectionOAuthResponseParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ConnectionOAuthResponseParametersBuilder
impl Default for ConnectionOAuthResponseParametersBuilder
source§fn default() -> ConnectionOAuthResponseParametersBuilder
fn default() -> ConnectionOAuthResponseParametersBuilder
source§impl PartialEq for ConnectionOAuthResponseParametersBuilder
impl PartialEq for ConnectionOAuthResponseParametersBuilder
source§fn eq(&self, other: &ConnectionOAuthResponseParametersBuilder) -> bool
fn eq(&self, other: &ConnectionOAuthResponseParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionOAuthResponseParametersBuilder
Auto Trait Implementations§
impl Freeze for ConnectionOAuthResponseParametersBuilder
impl RefUnwindSafe for ConnectionOAuthResponseParametersBuilder
impl Send for ConnectionOAuthResponseParametersBuilder
impl Sync for ConnectionOAuthResponseParametersBuilder
impl Unpin for ConnectionOAuthResponseParametersBuilder
impl UnwindSafe for ConnectionOAuthResponseParametersBuilder
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