pub struct TestSuiteRunTestAttempt {
pub scorer_results: Vec<TestSuiteRunTestAttemptScorerResultsInner>,
pub call: Option<TestSuiteRunTestAttemptCall>,
pub call_id: Option<String>,
pub metadata: Option<TestSuiteRunTestAttemptMetadata>,
}
Fields§
§scorer_results: Vec<TestSuiteRunTestAttemptScorerResultsInner>
These are the results of the scorers used to evaluate the test attempt.
call: Option<TestSuiteRunTestAttemptCall>
This is the call made during the test attempt.
call_id: Option<String>
This is the call ID for the test attempt.
metadata: Option<TestSuiteRunTestAttemptMetadata>
This is the metadata for the test attempt.
Implementations§
Source§impl TestSuiteRunTestAttempt
impl TestSuiteRunTestAttempt
pub fn new( scorer_results: Vec<TestSuiteRunTestAttemptScorerResultsInner>, ) -> TestSuiteRunTestAttempt
Trait Implementations§
Source§impl Clone for TestSuiteRunTestAttempt
impl Clone for TestSuiteRunTestAttempt
Source§fn clone(&self) -> TestSuiteRunTestAttempt
fn clone(&self) -> TestSuiteRunTestAttempt
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 TestSuiteRunTestAttempt
impl Debug for TestSuiteRunTestAttempt
Source§impl Default for TestSuiteRunTestAttempt
impl Default for TestSuiteRunTestAttempt
Source§fn default() -> TestSuiteRunTestAttempt
fn default() -> TestSuiteRunTestAttempt
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TestSuiteRunTestAttempt
impl<'de> Deserialize<'de> for TestSuiteRunTestAttempt
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 TestSuiteRunTestAttempt
impl PartialEq for TestSuiteRunTestAttempt
Source§impl Serialize for TestSuiteRunTestAttempt
impl Serialize for TestSuiteRunTestAttempt
impl StructuralPartialEq for TestSuiteRunTestAttempt
Auto Trait Implementations§
impl Freeze for TestSuiteRunTestAttempt
impl RefUnwindSafe for TestSuiteRunTestAttempt
impl Send for TestSuiteRunTestAttempt
impl Sync for TestSuiteRunTestAttempt
impl Unpin for TestSuiteRunTestAttempt
impl UnwindSafe for TestSuiteRunTestAttempt
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