#[non_exhaustive]pub struct IntentClassificationTestResultsBuilder { /* private fields */ }Expand description
A builder for IntentClassificationTestResults.
Implementations§
source§impl IntentClassificationTestResultsBuilder
impl IntentClassificationTestResultsBuilder
sourcepub fn items(self, input: IntentClassificationTestResultItem) -> Self
pub fn items(self, input: IntentClassificationTestResultItem) -> Self
Appends an item to items.
To override the contents of this collection use set_items.
A list of the results for the intent classification test.
sourcepub fn set_items(
self,
input: Option<Vec<IntentClassificationTestResultItem>>
) -> Self
pub fn set_items( self, input: Option<Vec<IntentClassificationTestResultItem>> ) -> Self
A list of the results for the intent classification test.
sourcepub fn get_items(&self) -> &Option<Vec<IntentClassificationTestResultItem>>
pub fn get_items(&self) -> &Option<Vec<IntentClassificationTestResultItem>>
A list of the results for the intent classification test.
sourcepub fn build(self) -> IntentClassificationTestResults
pub fn build(self) -> IntentClassificationTestResults
Consumes the builder and constructs a IntentClassificationTestResults.
Trait Implementations§
source§impl Clone for IntentClassificationTestResultsBuilder
impl Clone for IntentClassificationTestResultsBuilder
source§fn clone(&self) -> IntentClassificationTestResultsBuilder
fn clone(&self) -> IntentClassificationTestResultsBuilder
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 IntentClassificationTestResultsBuilder
impl Default for IntentClassificationTestResultsBuilder
source§fn default() -> IntentClassificationTestResultsBuilder
fn default() -> IntentClassificationTestResultsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for IntentClassificationTestResultsBuilder
impl PartialEq for IntentClassificationTestResultsBuilder
source§fn eq(&self, other: &IntentClassificationTestResultsBuilder) -> bool
fn eq(&self, other: &IntentClassificationTestResultsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IntentClassificationTestResultsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for IntentClassificationTestResultsBuilder
impl Send for IntentClassificationTestResultsBuilder
impl Sync for IntentClassificationTestResultsBuilder
impl Unpin for IntentClassificationTestResultsBuilder
impl UnwindSafe for IntentClassificationTestResultsBuilder
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