pub struct Observation {
pub case_id: CaseId,
pub runtime_id: RuntimeId,
pub status: CaseStatus,
pub value: Option<CanonicalValue>,
pub error: Option<CanonicalError>,
pub stdout: CapturedText,
pub stderr: CapturedText,
pub exit_code: Option<i32>,
pub duration_ms: u64,
pub effects: Vec<Effect>,
pub artifacts: Vec<Artifact>,
pub metadata: BTreeMap<String, String>,
}Fields§
§case_id: CaseId§runtime_id: RuntimeId§status: CaseStatus§value: Option<CanonicalValue>§error: Option<CanonicalError>§stdout: CapturedText§stderr: CapturedText§exit_code: Option<i32>§duration_ms: u64§effects: Vec<Effect>§artifacts: Vec<Artifact>§metadata: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for Observation
impl Clone for Observation
Source§impl Debug for Observation
impl Debug for Observation
Source§impl<'de> Deserialize<'de> for Observation
impl<'de> Deserialize<'de> for Observation
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 JsonSchema for Observation
impl JsonSchema for Observation
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for Observation
impl PartialEq for Observation
Source§impl Serialize for Observation
impl Serialize for Observation
impl StructuralPartialEq for Observation
Auto Trait Implementations§
impl Forget for Observation
impl Freeze for Observation
impl Move for Observation
impl RefUnwindSafe for Observation
impl Send for Observation
impl Sync for Observation
impl Unpin for Observation
impl UnsafeUnpin for Observation
impl UnwindSafe for Observation
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