pub struct RunView {
pub pane: String,
pub outcome: RunOutcome,
pub exit_status: Option<i32>,
pub output: String,
pub bytes: usize,
pub truncated: bool,
}Expand description
What a command did.
Fields§
§pane: StringThe pane the command ran in.
outcome: RunOutcomeHow the run finished.
exit_status: Option<i32>The command’s exit status, when it completed.
Absent when the run did not complete, and when the command was killed by a signal rather than exiting.
output: StringEverything the command wrote, stdout and stderr interleaved in the order the program wrote them.
This is the raw output stream with escape sequences removed, not the
rendered screen: a line redrawn in place, such as a progress bar,
repeats. capture_pane shows the screen.
bytes: usizeHow many bytes that was, before any truncation.
truncated: boolWhether the output was truncated from the front.
Trait Implementations§
Source§impl JsonSchema for RunView
impl JsonSchema for RunView
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 moreAuto Trait Implementations§
impl Freeze for RunView
impl RefUnwindSafe for RunView
impl Send for RunView
impl Sync for RunView
impl Unpin for RunView
impl UnsafeUnpin for RunView
impl UnwindSafe for RunView
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