pub struct BugReport {
pub kind: String,
pub description: String,
pub area: Option<Region>,
pub elements: Vec<String>,
pub errors: Vec<String>,
pub film: Option<Movie>,
pub details: Vec<(String, String)>,
}Expand description
What someone says about a bug, for the development team.
Fields§
§kind: StringWhat kind of report it is, in the words of BugLabels::kinds.
description: StringWhat happened, in their words.
area: Option<Region>The box they drew around the problem, in the logical pixels of the window.
elements: Vec<String>What was on screen under that box, by the names screen readers use.
errors: Vec<String>The app’s last errors, from BugReporter::errors.
film: Option<Movie>The film of what led to it, if they chose to include it.
details: Vec<(String, String)>What the app adds, such as its version. Shown before it is sent.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BugReport
impl !Send for BugReport
impl !Sync for BugReport
impl !UnwindSafe for BugReport
impl Freeze for BugReport
impl Unpin for BugReport
impl UnsafeUnpin for BugReport
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