Struct aws_sdk_iotdeviceadvisor::model::TestCaseScenario
source · #[non_exhaustive]pub struct TestCaseScenario { /* private fields */ }
Expand description
Provides test case scenario.
Implementations§
source§impl TestCaseScenario
impl TestCaseScenario
sourcepub fn test_case_scenario_id(&self) -> Option<&str>
pub fn test_case_scenario_id(&self) -> Option<&str>
Provides test case scenario ID.
sourcepub fn test_case_scenario_type(&self) -> Option<&TestCaseScenarioType>
pub fn test_case_scenario_type(&self) -> Option<&TestCaseScenarioType>
Provides test case scenario type. Type is one of the following:
-
Advanced
-
Basic
sourcepub fn status(&self) -> Option<&TestCaseScenarioStatus>
pub fn status(&self) -> Option<&TestCaseScenarioStatus>
Provides the test case scenario status. Status is one of the following:
-
PASS
: Test passed. -
FAIL
: Test failed. -
PENDING
: Test has not started running but is scheduled. -
RUNNING
: Test is running. -
STOPPING
: Test is performing cleanup steps. You will see this status only if you stop a suite run. -
STOPPED
Test is stopped. You will see this status only if you stop a suite run. -
PASS_WITH_WARNINGS
: Test passed with warnings. -
ERORR
: Test faced an error when running due to an internal issue.
sourcepub fn system_message(&self) -> Option<&str>
pub fn system_message(&self) -> Option<&str>
source§impl TestCaseScenario
impl TestCaseScenario
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TestCaseScenario
.
Trait Implementations§
source§impl Clone for TestCaseScenario
impl Clone for TestCaseScenario
source§fn clone(&self) -> TestCaseScenario
fn clone(&self) -> TestCaseScenario
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TestCaseScenario
impl Debug for TestCaseScenario
source§impl PartialEq<TestCaseScenario> for TestCaseScenario
impl PartialEq<TestCaseScenario> for TestCaseScenario
source§fn eq(&self, other: &TestCaseScenario) -> bool
fn eq(&self, other: &TestCaseScenario) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.