#[non_exhaustive]pub struct ThemeGenerationConfigBuilder { /* private fields */ }Expand description
A builder for ThemeGenerationConfig.
Implementations§
source§impl ThemeGenerationConfigBuilder
impl ThemeGenerationConfigBuilder
sourcepub fn fields_for_theme_generation(
self,
input: FieldsForThemeGeneration
) -> Self
pub fn fields_for_theme_generation( self, input: FieldsForThemeGeneration ) -> Self
Fields used to generate descriptive themes for a batch inference job.
This field is required.sourcepub fn set_fields_for_theme_generation(
self,
input: Option<FieldsForThemeGeneration>
) -> Self
pub fn set_fields_for_theme_generation( self, input: Option<FieldsForThemeGeneration> ) -> Self
Fields used to generate descriptive themes for a batch inference job.
sourcepub fn get_fields_for_theme_generation(
&self
) -> &Option<FieldsForThemeGeneration>
pub fn get_fields_for_theme_generation( &self ) -> &Option<FieldsForThemeGeneration>
Fields used to generate descriptive themes for a batch inference job.
sourcepub fn build(self) -> ThemeGenerationConfig
pub fn build(self) -> ThemeGenerationConfig
Consumes the builder and constructs a ThemeGenerationConfig.
Trait Implementations§
source§impl Clone for ThemeGenerationConfigBuilder
impl Clone for ThemeGenerationConfigBuilder
source§fn clone(&self) -> ThemeGenerationConfigBuilder
fn clone(&self) -> ThemeGenerationConfigBuilder
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 ThemeGenerationConfigBuilder
impl Debug for ThemeGenerationConfigBuilder
source§impl Default for ThemeGenerationConfigBuilder
impl Default for ThemeGenerationConfigBuilder
source§fn default() -> ThemeGenerationConfigBuilder
fn default() -> ThemeGenerationConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ThemeGenerationConfigBuilder
impl PartialEq for ThemeGenerationConfigBuilder
source§fn eq(&self, other: &ThemeGenerationConfigBuilder) -> bool
fn eq(&self, other: &ThemeGenerationConfigBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ThemeGenerationConfigBuilder
Auto Trait Implementations§
impl Freeze for ThemeGenerationConfigBuilder
impl RefUnwindSafe for ThemeGenerationConfigBuilder
impl Send for ThemeGenerationConfigBuilder
impl Sync for ThemeGenerationConfigBuilder
impl Unpin for ThemeGenerationConfigBuilder
impl UnwindSafe for ThemeGenerationConfigBuilder
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.