#[non_exhaustive]pub struct BasicAuthenticationPropertiesBuilder { /* private fields */ }Expand description
A builder for BasicAuthenticationProperties.
Implementations§
Source§impl BasicAuthenticationPropertiesBuilder
impl BasicAuthenticationPropertiesBuilder
Sourcepub fn username(self, input: ConnectorProperty) -> Self
pub fn username(self, input: ConnectorProperty) -> Self
The username property name to use for Basic authentication credentials.
Sourcepub fn set_username(self, input: Option<ConnectorProperty>) -> Self
pub fn set_username(self, input: Option<ConnectorProperty>) -> Self
The username property name to use for Basic authentication credentials.
Sourcepub fn get_username(&self) -> &Option<ConnectorProperty>
pub fn get_username(&self) -> &Option<ConnectorProperty>
The username property name to use for Basic authentication credentials.
Sourcepub fn password(self, input: ConnectorProperty) -> Self
pub fn password(self, input: ConnectorProperty) -> Self
The password property name to use for Basic authentication credentials.
Sourcepub fn set_password(self, input: Option<ConnectorProperty>) -> Self
pub fn set_password(self, input: Option<ConnectorProperty>) -> Self
The password property name to use for Basic authentication credentials.
Sourcepub fn get_password(&self) -> &Option<ConnectorProperty>
pub fn get_password(&self) -> &Option<ConnectorProperty>
The password property name to use for Basic authentication credentials.
Sourcepub fn build(self) -> BasicAuthenticationProperties
pub fn build(self) -> BasicAuthenticationProperties
Consumes the builder and constructs a BasicAuthenticationProperties.
Trait Implementations§
Source§impl Clone for BasicAuthenticationPropertiesBuilder
impl Clone for BasicAuthenticationPropertiesBuilder
Source§fn clone(&self) -> BasicAuthenticationPropertiesBuilder
fn clone(&self) -> BasicAuthenticationPropertiesBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for BasicAuthenticationPropertiesBuilder
impl Default for BasicAuthenticationPropertiesBuilder
Source§fn default() -> BasicAuthenticationPropertiesBuilder
fn default() -> BasicAuthenticationPropertiesBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for BasicAuthenticationPropertiesBuilder
impl PartialEq for BasicAuthenticationPropertiesBuilder
Source§fn eq(&self, other: &BasicAuthenticationPropertiesBuilder) -> bool
fn eq(&self, other: &BasicAuthenticationPropertiesBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BasicAuthenticationPropertiesBuilder
Auto Trait Implementations§
impl Freeze for BasicAuthenticationPropertiesBuilder
impl RefUnwindSafe for BasicAuthenticationPropertiesBuilder
impl Send for BasicAuthenticationPropertiesBuilder
impl Sync for BasicAuthenticationPropertiesBuilder
impl Unpin for BasicAuthenticationPropertiesBuilder
impl UnsafeUnpin for BasicAuthenticationPropertiesBuilder
impl UnwindSafe for BasicAuthenticationPropertiesBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.