pub struct ReportedStep {
pub id: Option<String>,
pub index: usize,
pub placed: Option<String>,
pub step: ProgramStep,
pub missing: Vec<String>,
pub error: Option<String>,
pub concerning: Option<String>,
}Expand description
The step being edited, as a bug report attaches it: what it is, its arguments as its edits leave them, and why it does not build, as its dialog shows it.
Fields§
§id: Option<String>Its id — none yet, for a new step.
index: usizeWhere it is, or goes, among the program’s steps.
placed: Option<String>The part placed in the program it is a step of, edited where it is
placed (see Command::Open), if it is one.
step: ProgramStepIts operation and arguments.
missing: Vec<String>What it still needs picked, by its fields’ labels.
error: Option<String>Why it does not build, as the dialog says it.
concerning: Option<String>The key of the field the error stands beside, if it concerns one
(see docs/ux.md, “An error stands beside its cause”).
Trait Implementations§
Source§impl Clone for ReportedStep
impl Clone for ReportedStep
Source§fn clone(&self) -> ReportedStep
fn clone(&self) -> ReportedStep
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReportedStep
impl Debug for ReportedStep
Auto Trait Implementations§
impl Freeze for ReportedStep
impl RefUnwindSafe for ReportedStep
impl Send for ReportedStep
impl Sync for ReportedStep
impl Unpin for ReportedStep
impl UnsafeUnpin for ReportedStep
impl UnwindSafe for ReportedStep
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