pub struct Report {
pub id: String,
/* private fields */
}Expand description
A report’s files, before they are written.
Fields§
§id: StringThe report id, a UUID v7.
Implementations§
Source§impl Report
impl Report
Sourcepub fn collect(
session: &AgentSession,
hint: &str,
include_session: bool,
summary: Option<String>,
) -> Report
pub fn collect( session: &AgentSession, hint: &str, include_session: bool, summary: Option<String>, ) -> Report
pi’s collectBugReportMetadata and collectBugReportDiagnostics
for session, with description hint, the transcript when
include_session, and summary.
Sourcepub fn issue_body(&self, home: &Path) -> String
pub fn issue_body(&self, home: &Path) -> String
The issue body: the description, the summary and report.json with
only the names of the settings, within GitHub’s limit, with home
written as ~. The transcript and the diagnostics, which can quote
tool output, stay out.
Auto Trait Implementations§
impl Forget for Report
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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