#[non_exhaustive]pub struct ServerValidationConfigurationBuilder { /* private fields */ }
Expand description
A builder for ServerValidationConfiguration
.
Implementations§
source§impl ServerValidationConfigurationBuilder
impl ServerValidationConfigurationBuilder
sourcepub fn set_server(self, input: Option<Server>) -> Self
pub fn set_server(self, input: Option<Server>) -> Self
Represents a server.
sourcepub fn get_server(&self) -> &Option<Server>
pub fn get_server(&self) -> &Option<Server>
Represents a server.
sourcepub fn validation_id(self, input: impl Into<String>) -> Self
pub fn validation_id(self, input: impl Into<String>) -> Self
The ID of the validation.
sourcepub fn set_validation_id(self, input: Option<String>) -> Self
pub fn set_validation_id(self, input: Option<String>) -> Self
The ID of the validation.
sourcepub fn get_validation_id(&self) -> &Option<String>
pub fn get_validation_id(&self) -> &Option<String>
The ID of the validation.
sourcepub fn server_validation_strategy(self, input: ServerValidationStrategy) -> Self
pub fn server_validation_strategy(self, input: ServerValidationStrategy) -> Self
The validation strategy.
sourcepub fn set_server_validation_strategy(
self,
input: Option<ServerValidationStrategy>
) -> Self
pub fn set_server_validation_strategy( self, input: Option<ServerValidationStrategy> ) -> Self
The validation strategy.
sourcepub fn get_server_validation_strategy(
&self
) -> &Option<ServerValidationStrategy>
pub fn get_server_validation_strategy( &self ) -> &Option<ServerValidationStrategy>
The validation strategy.
sourcepub fn user_data_validation_parameters(
self,
input: UserDataValidationParameters
) -> Self
pub fn user_data_validation_parameters( self, input: UserDataValidationParameters ) -> Self
The validation parameters.
sourcepub fn set_user_data_validation_parameters(
self,
input: Option<UserDataValidationParameters>
) -> Self
pub fn set_user_data_validation_parameters( self, input: Option<UserDataValidationParameters> ) -> Self
The validation parameters.
sourcepub fn get_user_data_validation_parameters(
&self
) -> &Option<UserDataValidationParameters>
pub fn get_user_data_validation_parameters( &self ) -> &Option<UserDataValidationParameters>
The validation parameters.
sourcepub fn build(self) -> ServerValidationConfiguration
pub fn build(self) -> ServerValidationConfiguration
Consumes the builder and constructs a ServerValidationConfiguration
.
Trait Implementations§
source§impl Clone for ServerValidationConfigurationBuilder
impl Clone for ServerValidationConfigurationBuilder
source§fn clone(&self) -> ServerValidationConfigurationBuilder
fn clone(&self) -> ServerValidationConfigurationBuilder
Returns a copy of the value. Read more
1.0.0 · 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 ServerValidationConfigurationBuilder
impl Default for ServerValidationConfigurationBuilder
source§fn default() -> ServerValidationConfigurationBuilder
fn default() -> ServerValidationConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ServerValidationConfigurationBuilder
impl PartialEq for ServerValidationConfigurationBuilder
source§fn eq(&self, other: &ServerValidationConfigurationBuilder) -> bool
fn eq(&self, other: &ServerValidationConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ServerValidationConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ServerValidationConfigurationBuilder
impl RefUnwindSafe for ServerValidationConfigurationBuilder
impl Send for ServerValidationConfigurationBuilder
impl Sync for ServerValidationConfigurationBuilder
impl Unpin for ServerValidationConfigurationBuilder
impl UnwindSafe for ServerValidationConfigurationBuilder
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> 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.