#[non_exhaustive]pub struct TestSetGenerationDataSourceBuilder { /* private fields */ }
Expand description
A builder for TestSetGenerationDataSource
.
Implementations§
source§impl TestSetGenerationDataSourceBuilder
impl TestSetGenerationDataSourceBuilder
sourcepub fn conversation_logs_data_source(
self,
input: ConversationLogsDataSource
) -> Self
pub fn conversation_logs_data_source( self, input: ConversationLogsDataSource ) -> Self
Contains information about the bot from which the conversation logs are sourced.
sourcepub fn set_conversation_logs_data_source(
self,
input: Option<ConversationLogsDataSource>
) -> Self
pub fn set_conversation_logs_data_source( self, input: Option<ConversationLogsDataSource> ) -> Self
Contains information about the bot from which the conversation logs are sourced.
sourcepub fn get_conversation_logs_data_source(
&self
) -> &Option<ConversationLogsDataSource>
pub fn get_conversation_logs_data_source( &self ) -> &Option<ConversationLogsDataSource>
Contains information about the bot from which the conversation logs are sourced.
sourcepub fn build(self) -> TestSetGenerationDataSource
pub fn build(self) -> TestSetGenerationDataSource
Consumes the builder and constructs a TestSetGenerationDataSource
.
Trait Implementations§
source§impl Clone for TestSetGenerationDataSourceBuilder
impl Clone for TestSetGenerationDataSourceBuilder
source§fn clone(&self) -> TestSetGenerationDataSourceBuilder
fn clone(&self) -> TestSetGenerationDataSourceBuilder
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 TestSetGenerationDataSourceBuilder
impl Default for TestSetGenerationDataSourceBuilder
source§fn default() -> TestSetGenerationDataSourceBuilder
fn default() -> TestSetGenerationDataSourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TestSetGenerationDataSourceBuilder
impl PartialEq for TestSetGenerationDataSourceBuilder
source§fn eq(&self, other: &TestSetGenerationDataSourceBuilder) -> bool
fn eq(&self, other: &TestSetGenerationDataSourceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TestSetGenerationDataSourceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TestSetGenerationDataSourceBuilder
impl Send for TestSetGenerationDataSourceBuilder
impl Sync for TestSetGenerationDataSourceBuilder
impl Unpin for TestSetGenerationDataSourceBuilder
impl UnwindSafe for TestSetGenerationDataSourceBuilder
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.