#[non_exhaustive]pub struct AuthenticationConfigurationBuilder { /* private fields */ }Expand description
A builder for AuthenticationConfiguration.
Implementations§
source§impl AuthenticationConfigurationBuilder
impl AuthenticationConfigurationBuilder
sourcepub fn basic_authentication(
self,
input: BasicAuthenticationConfiguration
) -> Self
pub fn basic_authentication( self, input: BasicAuthenticationConfiguration ) -> Self
Appends an item to basic_authentication.
To override the contents of this collection use set_basic_authentication.
The list of configuration information that's required to connect to and crawl a website host using basic authentication credentials.
The list includes the name and port number of the website host.
sourcepub fn set_basic_authentication(
self,
input: Option<Vec<BasicAuthenticationConfiguration>>
) -> Self
pub fn set_basic_authentication( self, input: Option<Vec<BasicAuthenticationConfiguration>> ) -> Self
The list of configuration information that's required to connect to and crawl a website host using basic authentication credentials.
The list includes the name and port number of the website host.
sourcepub fn get_basic_authentication(
&self
) -> &Option<Vec<BasicAuthenticationConfiguration>>
pub fn get_basic_authentication( &self ) -> &Option<Vec<BasicAuthenticationConfiguration>>
The list of configuration information that's required to connect to and crawl a website host using basic authentication credentials.
The list includes the name and port number of the website host.
sourcepub fn build(self) -> AuthenticationConfiguration
pub fn build(self) -> AuthenticationConfiguration
Consumes the builder and constructs a AuthenticationConfiguration.
Trait Implementations§
source§impl Clone for AuthenticationConfigurationBuilder
impl Clone for AuthenticationConfigurationBuilder
source§fn clone(&self) -> AuthenticationConfigurationBuilder
fn clone(&self) -> AuthenticationConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AuthenticationConfigurationBuilder
impl Default for AuthenticationConfigurationBuilder
source§fn default() -> AuthenticationConfigurationBuilder
fn default() -> AuthenticationConfigurationBuilder
source§impl PartialEq for AuthenticationConfigurationBuilder
impl PartialEq for AuthenticationConfigurationBuilder
source§fn eq(&self, other: &AuthenticationConfigurationBuilder) -> bool
fn eq(&self, other: &AuthenticationConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AuthenticationConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AuthenticationConfigurationBuilder
impl RefUnwindSafe for AuthenticationConfigurationBuilder
impl Send for AuthenticationConfigurationBuilder
impl Sync for AuthenticationConfigurationBuilder
impl Unpin for AuthenticationConfigurationBuilder
impl UnwindSafe for AuthenticationConfigurationBuilder
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