pub enum View {
Show 15 variants
Next {
header: String,
lists: Next,
limit: Option<usize>,
},
Matrix {
header: String,
placed: Vec<Placed>,
limit: Option<usize>,
quadrant: Option<Quadrant>,
today: i64,
},
Status {
header: String,
portfolio: Box<Portfolio>,
explain: bool,
},
Stale {
header: String,
placed: Vec<Placed>,
limit: usize,
},
Report {
runs: Vec<Run>,
attempts: Vec<Attempt>,
by: By,
},
Runs(Vec<Run>),
Run {
run: Box<Run>,
attempts: Vec<Attempt>,
changelog: Option<String>,
diff: String,
moved: bool,
},
Agents {
state: PathBuf,
jobs: Vec<Job>,
runs: Vec<Run>,
now: i64,
},
Jobs(Vec<Job>),
JobLog {
id: i64,
text: Option<String>,
},
Notes(Vec<Note>),
Workflows {
revisions: Vec<WorkflowRevision>,
instances: Vec<WorkflowInstance>,
},
Campaigns(Vec<Campaign>),
Campaign {
campaign: Campaign,
runs: Vec<Run>,
},
Project {
name: String,
path: PathBuf,
scanned_at: Option<i64>,
tags: Vec<String>,
verify: Option<String>,
status: Option<StatusLine>,
placed: Vec<Placed>,
today: i64,
runs: Vec<Run>,
},
}Variants§
Next
Matrix
Fields
Status
Stale
Report
Runs(Vec<Run>)
Run
Fields
Agents
Jobs(Vec<Job>)
JobLog
None until the job writes output.
Notes(Vec<Note>)
Workflows
Campaigns(Vec<Campaign>)
Campaign
Project
Fields
§
status: Option<StatusLine>Its states and status cells, as pma status shows them; None
for a project no scan has found lately.
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