#[non_exhaustive]pub struct ConnectionHttpParametersBuilder { /* private fields */ }
Expand description
A builder for ConnectionHttpParameters
.
Implementations§
source§impl ConnectionHttpParametersBuilder
impl ConnectionHttpParametersBuilder
sourcepub fn header_parameters(self, input: ConnectionHeaderParameter) -> Self
pub fn header_parameters(self, input: ConnectionHeaderParameter) -> Self
Appends an item to header_parameters
.
To override the contents of this collection use set_header_parameters
.
Contains additional header parameters for the connection.
sourcepub fn set_header_parameters(
self,
input: Option<Vec<ConnectionHeaderParameter>>
) -> Self
pub fn set_header_parameters( self, input: Option<Vec<ConnectionHeaderParameter>> ) -> Self
Contains additional header parameters for the connection.
sourcepub fn get_header_parameters(&self) -> &Option<Vec<ConnectionHeaderParameter>>
pub fn get_header_parameters(&self) -> &Option<Vec<ConnectionHeaderParameter>>
Contains additional header parameters for the connection.
sourcepub fn query_string_parameters(
self,
input: ConnectionQueryStringParameter
) -> Self
pub fn query_string_parameters( self, input: ConnectionQueryStringParameter ) -> Self
Appends an item to query_string_parameters
.
To override the contents of this collection use set_query_string_parameters
.
Contains additional query string parameters for the connection.
sourcepub fn set_query_string_parameters(
self,
input: Option<Vec<ConnectionQueryStringParameter>>
) -> Self
pub fn set_query_string_parameters( self, input: Option<Vec<ConnectionQueryStringParameter>> ) -> Self
Contains additional query string parameters for the connection.
sourcepub fn get_query_string_parameters(
&self
) -> &Option<Vec<ConnectionQueryStringParameter>>
pub fn get_query_string_parameters( &self ) -> &Option<Vec<ConnectionQueryStringParameter>>
Contains additional query string parameters for the connection.
sourcepub fn body_parameters(self, input: ConnectionBodyParameter) -> Self
pub fn body_parameters(self, input: ConnectionBodyParameter) -> Self
Appends an item to body_parameters
.
To override the contents of this collection use set_body_parameters
.
Contains additional body string parameters for the connection.
sourcepub fn set_body_parameters(
self,
input: Option<Vec<ConnectionBodyParameter>>
) -> Self
pub fn set_body_parameters( self, input: Option<Vec<ConnectionBodyParameter>> ) -> Self
Contains additional body string parameters for the connection.
sourcepub fn get_body_parameters(&self) -> &Option<Vec<ConnectionBodyParameter>>
pub fn get_body_parameters(&self) -> &Option<Vec<ConnectionBodyParameter>>
Contains additional body string parameters for the connection.
sourcepub fn build(self) -> ConnectionHttpParameters
pub fn build(self) -> ConnectionHttpParameters
Consumes the builder and constructs a ConnectionHttpParameters
.
Trait Implementations§
source§impl Clone for ConnectionHttpParametersBuilder
impl Clone for ConnectionHttpParametersBuilder
source§fn clone(&self) -> ConnectionHttpParametersBuilder
fn clone(&self) -> ConnectionHttpParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ConnectionHttpParametersBuilder
impl Default for ConnectionHttpParametersBuilder
source§fn default() -> ConnectionHttpParametersBuilder
fn default() -> ConnectionHttpParametersBuilder
source§impl PartialEq for ConnectionHttpParametersBuilder
impl PartialEq for ConnectionHttpParametersBuilder
source§fn eq(&self, other: &ConnectionHttpParametersBuilder) -> bool
fn eq(&self, other: &ConnectionHttpParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionHttpParametersBuilder
Auto Trait Implementations§
impl Freeze for ConnectionHttpParametersBuilder
impl RefUnwindSafe for ConnectionHttpParametersBuilder
impl Send for ConnectionHttpParametersBuilder
impl Sync for ConnectionHttpParametersBuilder
impl Unpin for ConnectionHttpParametersBuilder
impl UnwindSafe for ConnectionHttpParametersBuilder
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