pub struct CreateTestSuiteTestChatDto {
pub scorers: Vec<TestSuiteTestVoiceScorersInner>,
pub type: TypeTrue,
pub script: String,
pub num_attempts: Option<f64>,
pub name: Option<String>,
}
Fields§
§scorers: Vec<TestSuiteTestVoiceScorersInner>
These are the scorers used to evaluate the test.
type: TypeTrue
This is the type of the test, which must be chat.
script: String
This is the script to be used for the chat test.
num_attempts: Option<f64>
This is the number of attempts allowed for the test.
name: Option<String>
This is the name of the test.
Implementations§
Source§impl CreateTestSuiteTestChatDto
impl CreateTestSuiteTestChatDto
pub fn new( scorers: Vec<TestSuiteTestVoiceScorersInner>, type: TypeTrue, script: String, ) -> CreateTestSuiteTestChatDto
Trait Implementations§
Source§impl Clone for CreateTestSuiteTestChatDto
impl Clone for CreateTestSuiteTestChatDto
Source§fn clone(&self) -> CreateTestSuiteTestChatDto
fn clone(&self) -> CreateTestSuiteTestChatDto
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreateTestSuiteTestChatDto
impl Debug for CreateTestSuiteTestChatDto
Source§impl Default for CreateTestSuiteTestChatDto
impl Default for CreateTestSuiteTestChatDto
Source§fn default() -> CreateTestSuiteTestChatDto
fn default() -> CreateTestSuiteTestChatDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateTestSuiteTestChatDto
impl<'de> Deserialize<'de> for CreateTestSuiteTestChatDto
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for CreateTestSuiteTestChatDto
Auto Trait Implementations§
impl Freeze for CreateTestSuiteTestChatDto
impl RefUnwindSafe for CreateTestSuiteTestChatDto
impl Send for CreateTestSuiteTestChatDto
impl Sync for CreateTestSuiteTestChatDto
impl Unpin for CreateTestSuiteTestChatDto
impl UnwindSafe for CreateTestSuiteTestChatDto
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