pub struct CreateTestSuiteTestVoiceDto {
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 voice.
script: String
This is the script to be used for the voice 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 CreateTestSuiteTestVoiceDto
impl CreateTestSuiteTestVoiceDto
pub fn new( scorers: Vec<TestSuiteTestVoiceScorersInner>, type: TypeTrue, script: String, ) -> CreateTestSuiteTestVoiceDto
Trait Implementations§
Source§impl Clone for CreateTestSuiteTestVoiceDto
impl Clone for CreateTestSuiteTestVoiceDto
Source§fn clone(&self) -> CreateTestSuiteTestVoiceDto
fn clone(&self) -> CreateTestSuiteTestVoiceDto
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 CreateTestSuiteTestVoiceDto
impl Debug for CreateTestSuiteTestVoiceDto
Source§impl Default for CreateTestSuiteTestVoiceDto
impl Default for CreateTestSuiteTestVoiceDto
Source§fn default() -> CreateTestSuiteTestVoiceDto
fn default() -> CreateTestSuiteTestVoiceDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateTestSuiteTestVoiceDto
impl<'de> Deserialize<'de> for CreateTestSuiteTestVoiceDto
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 CreateTestSuiteTestVoiceDto
Auto Trait Implementations§
impl Freeze for CreateTestSuiteTestVoiceDto
impl RefUnwindSafe for CreateTestSuiteTestVoiceDto
impl Send for CreateTestSuiteTestVoiceDto
impl Sync for CreateTestSuiteTestVoiceDto
impl Unpin for CreateTestSuiteTestVoiceDto
impl UnwindSafe for CreateTestSuiteTestVoiceDto
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