pub struct TestSubResult {Show 19 fields
pub comment: Option<String>,
pub completed_date: Option<OffsetDateTime>,
pub computer_name: Option<String>,
pub configuration: Option<ShallowReference>,
pub custom_fields: Vec<CustomTestField>,
pub display_name: Option<String>,
pub duration_in_ms: Option<i64>,
pub error_message: Option<String>,
pub id: Option<i32>,
pub last_updated_date: Option<OffsetDateTime>,
pub outcome: Option<String>,
pub parent_id: Option<i32>,
pub result_group_type: Option<ResultGroupType>,
pub sequence_id: Option<i32>,
pub stack_trace: Option<String>,
pub started_date: Option<OffsetDateTime>,
pub sub_results: Vec<TestSubResult>,
pub test_result: Option<TestCaseResultIdentifier>,
pub url: Option<String>,
}Expand description
Represents a sub result of a test result.
Fields§
§comment: Option<String>Comment in sub result.
completed_date: Option<OffsetDateTime>Time when test execution completed(UTC).
computer_name: Option<String>Machine where test executed.
configuration: Option<ShallowReference>An abstracted reference to some other resource. This class is used to provide the build data contracts with a uniform way to reference other resources in a way that provides easy traversal through links.
custom_fields: Vec<CustomTestField>Additional properties of sub result.
display_name: Option<String>Name of sub result.
duration_in_ms: Option<i64>Duration of test execution.
error_message: Option<String>Error message in sub result.
id: Option<i32>ID of sub result.
last_updated_date: Option<OffsetDateTime>Time when result last updated(UTC).
outcome: Option<String>Outcome of sub result.
parent_id: Option<i32>Immediate parent ID of sub result.
result_group_type: Option<ResultGroupType>Hierarchy type of the result, default value of None means its leaf node.
sequence_id: Option<i32>Index number of sub result.
stack_trace: Option<String>Stacktrace.
started_date: Option<OffsetDateTime>Time when test execution started(UTC).
sub_results: Vec<TestSubResult>List of sub results inside a sub result, if ResultGroupType is not None, it holds corresponding type sub results.
test_result: Option<TestCaseResultIdentifier>Reference to a test result.
url: Option<String>Url of sub result.
Implementations§
Source§impl TestSubResult
impl TestSubResult
Trait Implementations§
Source§impl Clone for TestSubResult
impl Clone for TestSubResult
Source§fn clone(&self) -> TestSubResult
fn clone(&self) -> TestSubResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more