#[non_exhaustive]pub struct UpdateConnectionOAuthRequestParametersBuilder { /* private fields */ }
Expand description
A builder for UpdateConnectionOAuthRequestParameters
.
Implementations§
source§impl UpdateConnectionOAuthRequestParametersBuilder
impl UpdateConnectionOAuthRequestParametersBuilder
sourcepub fn client_parameters(
self,
input: UpdateConnectionOAuthClientRequestParameters
) -> Self
pub fn client_parameters( self, input: UpdateConnectionOAuthClientRequestParameters ) -> Self
A UpdateConnectionOAuthClientRequestParameters
object that contains the client parameters to use for the connection when OAuth is specified as the authorization type.
sourcepub fn set_client_parameters(
self,
input: Option<UpdateConnectionOAuthClientRequestParameters>
) -> Self
pub fn set_client_parameters( self, input: Option<UpdateConnectionOAuthClientRequestParameters> ) -> Self
A UpdateConnectionOAuthClientRequestParameters
object that contains the client parameters to use for the connection when OAuth is specified as the authorization type.
sourcepub fn get_client_parameters(
&self
) -> &Option<UpdateConnectionOAuthClientRequestParameters>
pub fn get_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.
The URL to the authorization endpoint 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, 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) -> UpdateConnectionOAuthRequestParameters
pub fn build(self) -> UpdateConnectionOAuthRequestParameters
Consumes the builder and constructs a UpdateConnectionOAuthRequestParameters
.
Trait Implementations§
source§impl Clone for UpdateConnectionOAuthRequestParametersBuilder
impl Clone for UpdateConnectionOAuthRequestParametersBuilder
source§fn clone(&self) -> UpdateConnectionOAuthRequestParametersBuilder
fn clone(&self) -> UpdateConnectionOAuthRequestParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateConnectionOAuthRequestParametersBuilder
impl Default for UpdateConnectionOAuthRequestParametersBuilder
source§fn default() -> UpdateConnectionOAuthRequestParametersBuilder
fn default() -> UpdateConnectionOAuthRequestParametersBuilder
source§impl PartialEq for UpdateConnectionOAuthRequestParametersBuilder
impl PartialEq for UpdateConnectionOAuthRequestParametersBuilder
source§fn eq(&self, other: &UpdateConnectionOAuthRequestParametersBuilder) -> bool
fn eq(&self, other: &UpdateConnectionOAuthRequestParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateConnectionOAuthRequestParametersBuilder
Auto Trait Implementations§
impl Freeze for UpdateConnectionOAuthRequestParametersBuilder
impl RefUnwindSafe for UpdateConnectionOAuthRequestParametersBuilder
impl Send for UpdateConnectionOAuthRequestParametersBuilder
impl Sync for UpdateConnectionOAuthRequestParametersBuilder
impl Unpin for UpdateConnectionOAuthRequestParametersBuilder
impl UnwindSafe for UpdateConnectionOAuthRequestParametersBuilder
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