Struct azure_devops_rust_api::test_results::models::TestSubResult
source · 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 moresource§impl Debug for TestSubResult
impl Debug for TestSubResult
source§impl Default for TestSubResult
impl Default for TestSubResult
source§fn default() -> TestSubResult
fn default() -> TestSubResult
source§impl<'de> Deserialize<'de> for TestSubResult
impl<'de> Deserialize<'de> for TestSubResult
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>,
source§impl PartialEq for TestSubResult
impl PartialEq for TestSubResult
source§fn eq(&self, other: &TestSubResult) -> bool
fn eq(&self, other: &TestSubResult) -> bool
self
and other
values to be equal, and is used
by ==
.