#[non_exhaustive]pub struct BuildtimeSettingsBuilder { /* private fields */ }Expand description
A builder for BuildtimeSettings.
Implementations§
source§impl BuildtimeSettingsBuilder
impl BuildtimeSettingsBuilder
sourcepub fn descriptive_bot_builder(
self,
input: DescriptiveBotBuilderSpecification,
) -> Self
pub fn descriptive_bot_builder( self, input: DescriptiveBotBuilderSpecification, ) -> Self
An object containing specifications for the descriptive bot building feature.
sourcepub fn set_descriptive_bot_builder(
self,
input: Option<DescriptiveBotBuilderSpecification>,
) -> Self
pub fn set_descriptive_bot_builder( self, input: Option<DescriptiveBotBuilderSpecification>, ) -> Self
An object containing specifications for the descriptive bot building feature.
sourcepub fn get_descriptive_bot_builder(
&self,
) -> &Option<DescriptiveBotBuilderSpecification>
pub fn get_descriptive_bot_builder( &self, ) -> &Option<DescriptiveBotBuilderSpecification>
An object containing specifications for the descriptive bot building feature.
sourcepub fn sample_utterance_generation(
self,
input: SampleUtteranceGenerationSpecification,
) -> Self
pub fn sample_utterance_generation( self, input: SampleUtteranceGenerationSpecification, ) -> Self
Contains specifications for the sample utterance generation feature.
sourcepub fn set_sample_utterance_generation(
self,
input: Option<SampleUtteranceGenerationSpecification>,
) -> Self
pub fn set_sample_utterance_generation( self, input: Option<SampleUtteranceGenerationSpecification>, ) -> Self
Contains specifications for the sample utterance generation feature.
sourcepub fn get_sample_utterance_generation(
&self,
) -> &Option<SampleUtteranceGenerationSpecification>
pub fn get_sample_utterance_generation( &self, ) -> &Option<SampleUtteranceGenerationSpecification>
Contains specifications for the sample utterance generation feature.
sourcepub fn build(self) -> BuildtimeSettings
pub fn build(self) -> BuildtimeSettings
Consumes the builder and constructs a BuildtimeSettings.
Trait Implementations§
source§impl Clone for BuildtimeSettingsBuilder
impl Clone for BuildtimeSettingsBuilder
source§fn clone(&self) -> BuildtimeSettingsBuilder
fn clone(&self) -> BuildtimeSettingsBuilder
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 Debug for BuildtimeSettingsBuilder
impl Debug for BuildtimeSettingsBuilder
source§impl Default for BuildtimeSettingsBuilder
impl Default for BuildtimeSettingsBuilder
source§fn default() -> BuildtimeSettingsBuilder
fn default() -> BuildtimeSettingsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BuildtimeSettingsBuilder
impl PartialEq for BuildtimeSettingsBuilder
source§fn eq(&self, other: &BuildtimeSettingsBuilder) -> bool
fn eq(&self, other: &BuildtimeSettingsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BuildtimeSettingsBuilder
Auto Trait Implementations§
impl Freeze for BuildtimeSettingsBuilder
impl RefUnwindSafe for BuildtimeSettingsBuilder
impl Send for BuildtimeSettingsBuilder
impl Sync for BuildtimeSettingsBuilder
impl Unpin for BuildtimeSettingsBuilder
impl UnwindSafe for BuildtimeSettingsBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.