#[non_exhaustive]pub struct ConnectionHttpParameters {
pub header_parameters: Option<Vec<ConnectionHeaderParameter>>,
pub query_string_parameters: Option<Vec<ConnectionQueryStringParameter>>,
pub body_parameters: Option<Vec<ConnectionBodyParameter>>,
}
Expand description
Contains additional 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.header_parameters: Option<Vec<ConnectionHeaderParameter>>
Contains additional header parameters for the connection.
query_string_parameters: Option<Vec<ConnectionQueryStringParameter>>
Contains additional query string parameters for the connection.
body_parameters: Option<Vec<ConnectionBodyParameter>>
Contains additional body string parameters for the connection.
Implementations§
source§impl ConnectionHttpParameters
impl ConnectionHttpParameters
sourcepub fn header_parameters(&self) -> &[ConnectionHeaderParameter]
pub fn header_parameters(&self) -> &[ConnectionHeaderParameter]
Contains additional header parameters for the connection.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .header_parameters.is_none()
.
sourcepub fn query_string_parameters(&self) -> &[ConnectionQueryStringParameter]
pub fn query_string_parameters(&self) -> &[ConnectionQueryStringParameter]
Contains additional query string parameters for the connection.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .query_string_parameters.is_none()
.
sourcepub fn body_parameters(&self) -> &[ConnectionBodyParameter]
pub fn body_parameters(&self) -> &[ConnectionBodyParameter]
Contains additional body string parameters for the connection.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .body_parameters.is_none()
.
source§impl ConnectionHttpParameters
impl ConnectionHttpParameters
sourcepub fn builder() -> ConnectionHttpParametersBuilder
pub fn builder() -> ConnectionHttpParametersBuilder
Creates a new builder-style object to manufacture ConnectionHttpParameters
.
Trait Implementations§
source§impl Clone for ConnectionHttpParameters
impl Clone for ConnectionHttpParameters
source§fn clone(&self) -> ConnectionHttpParameters
fn clone(&self) -> ConnectionHttpParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConnectionHttpParameters
impl Debug for ConnectionHttpParameters
source§impl PartialEq for ConnectionHttpParameters
impl PartialEq for ConnectionHttpParameters
source§fn eq(&self, other: &ConnectionHttpParameters) -> bool
fn eq(&self, other: &ConnectionHttpParameters) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionHttpParameters
Auto Trait Implementations§
impl Freeze for ConnectionHttpParameters
impl RefUnwindSafe for ConnectionHttpParameters
impl Send for ConnectionHttpParameters
impl Sync for ConnectionHttpParameters
impl Unpin for ConnectionHttpParameters
impl UnwindSafe for ConnectionHttpParameters
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