#[non_exhaustive]pub struct ConnectionPropertiesConfiguration {
pub url: Option<ConnectorProperty>,
pub additional_request_parameters: Option<Vec<ConnectorProperty>>,
}Expand description
Configuration that defines the base URL and additional request parameters needed during connection creation.
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.url: Option<ConnectorProperty>The base instance URL for the endpoint that this connection type will connect to.
additional_request_parameters: Option<Vec<ConnectorProperty>>Key-value pairs of additional request parameters that may be needed during connection creation, such as API versions or service-specific configuration options.
Implementations§
Source§impl ConnectionPropertiesConfiguration
impl ConnectionPropertiesConfiguration
Sourcepub fn url(&self) -> Option<&ConnectorProperty>
pub fn url(&self) -> Option<&ConnectorProperty>
The base instance URL for the endpoint that this connection type will connect to.
Sourcepub fn additional_request_parameters(&self) -> &[ConnectorProperty]
pub fn additional_request_parameters(&self) -> &[ConnectorProperty]
Key-value pairs of additional request parameters that may be needed during connection creation, such as API versions or service-specific configuration options.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .additional_request_parameters.is_none().
Source§impl ConnectionPropertiesConfiguration
impl ConnectionPropertiesConfiguration
Sourcepub fn builder() -> ConnectionPropertiesConfigurationBuilder
pub fn builder() -> ConnectionPropertiesConfigurationBuilder
Creates a new builder-style object to manufacture ConnectionPropertiesConfiguration.
Trait Implementations§
Source§impl Clone for ConnectionPropertiesConfiguration
impl Clone for ConnectionPropertiesConfiguration
Source§fn clone(&self) -> ConnectionPropertiesConfiguration
fn clone(&self) -> ConnectionPropertiesConfiguration
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for ConnectionPropertiesConfiguration
impl PartialEq for ConnectionPropertiesConfiguration
Source§fn eq(&self, other: &ConnectionPropertiesConfiguration) -> bool
fn eq(&self, other: &ConnectionPropertiesConfiguration) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConnectionPropertiesConfiguration
Auto Trait Implementations§
impl Freeze for ConnectionPropertiesConfiguration
impl RefUnwindSafe for ConnectionPropertiesConfiguration
impl Send for ConnectionPropertiesConfiguration
impl Sync for ConnectionPropertiesConfiguration
impl Unpin for ConnectionPropertiesConfiguration
impl UnsafeUnpin for ConnectionPropertiesConfiguration
impl UnwindSafe for ConnectionPropertiesConfiguration
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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