pub struct ReportOptions<'a> {
pub program: &'a str,
pub channel: Option<&'a str>,
pub log_lines: usize,
}Expand description
Who asks for the report.
Fields§
§program: &'a strsurject-cli/0.9.0, surjection-app/0.9.0.
channel: Option<&'a str>How this build was installed (nsis, appimage, cargo), when
known.
log_lines: usizeLog lines at the end.
Trait Implementations§
Source§impl<'a> Clone for ReportOptions<'a>
impl<'a> Clone for ReportOptions<'a>
impl<'a> Copy for ReportOptions<'a>
Auto Trait Implementations§
impl<'a> Forget for ReportOptions<'a>
impl<'a> Freeze for ReportOptions<'a>
impl<'a> Move for ReportOptions<'a>
impl<'a> RefUnwindSafe for ReportOptions<'a>
impl<'a> Send for ReportOptions<'a>
impl<'a> Sync for ReportOptions<'a>
impl<'a> Unpin for ReportOptions<'a>
impl<'a> UnsafeUnpin for ReportOptions<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for ReportOptions<'a>where
&'a str: UnwindSafe,
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