#[non_exhaustive]pub struct BusinessNameGenerationConfigurationBuilder { /* private fields */ }
Expand description
A builder for BusinessNameGenerationConfiguration
.
Implementations§
source§impl BusinessNameGenerationConfigurationBuilder
impl BusinessNameGenerationConfigurationBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Specifies whether the business name generation is enabled.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Specifies whether the business name generation is enabled.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Specifies whether the business name generation is enabled.
sourcepub fn build(self) -> BusinessNameGenerationConfiguration
pub fn build(self) -> BusinessNameGenerationConfiguration
Consumes the builder and constructs a BusinessNameGenerationConfiguration
.
Trait Implementations§
source§impl Clone for BusinessNameGenerationConfigurationBuilder
impl Clone for BusinessNameGenerationConfigurationBuilder
source§fn clone(&self) -> BusinessNameGenerationConfigurationBuilder
fn clone(&self) -> BusinessNameGenerationConfigurationBuilder
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 BusinessNameGenerationConfigurationBuilder
impl Default for BusinessNameGenerationConfigurationBuilder
source§fn default() -> BusinessNameGenerationConfigurationBuilder
fn default() -> BusinessNameGenerationConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BusinessNameGenerationConfigurationBuilder
impl PartialEq for BusinessNameGenerationConfigurationBuilder
source§fn eq(&self, other: &BusinessNameGenerationConfigurationBuilder) -> bool
fn eq(&self, other: &BusinessNameGenerationConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BusinessNameGenerationConfigurationBuilder
Auto Trait Implementations§
impl Freeze for BusinessNameGenerationConfigurationBuilder
impl RefUnwindSafe for BusinessNameGenerationConfigurationBuilder
impl Send for BusinessNameGenerationConfigurationBuilder
impl Sync for BusinessNameGenerationConfigurationBuilder
impl Unpin for BusinessNameGenerationConfigurationBuilder
impl UnwindSafe for BusinessNameGenerationConfigurationBuilder
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>
Creates a shared type from an unshared type.