pub struct TestSuiteTestChat {
pub scorers: Vec<TestSuiteTestVoiceScorersInner>,
pub type: TypeTrue,
pub id: String,
pub test_suite_id: String,
pub org_id: String,
pub created_at: String,
pub updated_at: String,
pub name: Option<String>,
pub script: String,
pub num_attempts: Option<f64>,
}
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.
id: String
This is the unique identifier for the test.
test_suite_id: String
This is the unique identifier for the test suite this test belongs to.
org_id: String
This is the unique identifier for the organization this test belongs to.
created_at: String
This is the ISO 8601 date-time string of when the test was created.
updated_at: String
This is the ISO 8601 date-time string of when the test was last updated.
name: Option<String>
This is the name of the test.
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.
Implementations§
Trait Implementations§
Source§impl Clone for TestSuiteTestChat
impl Clone for TestSuiteTestChat
Source§fn clone(&self) -> TestSuiteTestChat
fn clone(&self) -> TestSuiteTestChat
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 TestSuiteTestChat
impl Debug for TestSuiteTestChat
Source§impl Default for TestSuiteTestChat
impl Default for TestSuiteTestChat
Source§fn default() -> TestSuiteTestChat
fn default() -> TestSuiteTestChat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TestSuiteTestChat
impl<'de> Deserialize<'de> for TestSuiteTestChat
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
Source§impl PartialEq for TestSuiteTestChat
impl PartialEq for TestSuiteTestChat
Source§impl Serialize for TestSuiteTestChat
impl Serialize for TestSuiteTestChat
impl StructuralPartialEq for TestSuiteTestChat
Auto Trait Implementations§
impl Freeze for TestSuiteTestChat
impl RefUnwindSafe for TestSuiteTestChat
impl Send for TestSuiteTestChat
impl Sync for TestSuiteTestChat
impl Unpin for TestSuiteTestChat
impl UnwindSafe for TestSuiteTestChat
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