pub struct PlanStepResult {
pub id: String,
pub state: PlanStepState,
pub exit: Option<i32>,
pub duration_ms: u64,
pub output_tail: Vec<String>,
}Expand description
One step’s outcome.
Fields§
§id: StringThe step.
state: PlanStepStateWhat happened.
exit: Option<i32>Its exit status, when it ran.
duration_ms: u64How long it took.
output_tail: Vec<String>The last lines of its output (at most 20).
Trait Implementations§
Source§impl Clone for PlanStepResult
impl Clone for PlanStepResult
Source§impl Debug for PlanStepResult
impl Debug for PlanStepResult
Source§impl<'de> Deserialize<'de> for PlanStepResult
impl<'de> Deserialize<'de> for PlanStepResult
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 Eq for PlanStepResult
Source§impl JsonSchema for PlanStepResult
impl JsonSchema for PlanStepResult
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 PlanStepResult
impl PartialEq for PlanStepResult
Source§impl Serialize for PlanStepResult
impl Serialize for PlanStepResult
impl StructuralPartialEq for PlanStepResult
Auto Trait Implementations§
impl Freeze for PlanStepResult
impl RefUnwindSafe for PlanStepResult
impl Send for PlanStepResult
impl Sync for PlanStepResult
impl Unpin for PlanStepResult
impl UnsafeUnpin for PlanStepResult
impl UnwindSafe for PlanStepResult
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