pub struct View {
pub name: String,
pub kind: Kind,
pub org: Option<String>,
pub state: RunState,
pub started_at: u64,
pub finished_at: Option<u64>,
pub steps: Vec<Step>,
pub log: Vec<String>,
pub log_start: usize,
pub error: Option<String>,
pub request: Value,
pub result: Option<Value>,
}Expand description
One run, as the tools answer it.
Fields§
§name: StringThe server’s name (vm-<org> for a dedicated VM).
kind: Kind§org: Option<String>The org a dedicated VM is for.
state: RunState§started_at: u64§finished_at: Option<u64>§steps: Vec<Step>§log: Vec<String>§log_start: usizeLines dropped off the top of log (the first kept line’s number).
error: Option<String>§request: ValueWhat was asked, without secrets: enough for “retry” to ask again.
result: Option<Value>What the run produced (the server, or the org it created).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for View
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnsafeUnpin for View
impl UnwindSafe for View
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