pub struct Problem {
pub device: Option<Device>,
pub job: Option<ProblemDetail>,
pub message: Option<String>,
pub result: Option<String>,
pub run: Option<ProblemDetail>,
pub suite: Option<ProblemDetail>,
pub test: Option<ProblemDetail>,
}Expand description
Represents a specific warning or failure.
Fields§
§device: Option<Device>Information about the associated device.
job: Option<ProblemDetail>Information about the associated job.
message: Option<String>A message about the problem's result.
result: Option<String>The problem's result.
Allowed values include:
-
PENDING
-
PASSED
-
WARNED
-
FAILED
-
SKIPPED
-
ERRORED
-
STOPPED
run: Option<ProblemDetail>Information about the associated run.
suite: Option<ProblemDetail>Information about the associated suite.
test: Option<ProblemDetail>Information about the associated test.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Problem
impl<'de> Deserialize<'de> for Problem
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
impl StructuralPartialEq for Problem
Auto Trait Implementations§
impl Freeze for Problem
impl RefUnwindSafe for Problem
impl Send for Problem
impl Sync for Problem
impl Unpin for Problem
impl UnwindSafe for Problem
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