pub struct FeedbackSubmitParams {
pub classification: FeedbackClassification,
pub note: String,
pub with_files: bool,
pub attach_session_record: bool,
pub session_id: Option<String>,
pub client_artifacts_path: Option<String>,
}Expand description
feedback/submit params: mirrors the TUI confirm-time FeedbackRequest.
The call itself is the explicit confirm.
Fields§
§classification: FeedbackClassificationThe report class (required).
note: StringThe user report text (required; non-empty for bug).
with_files: boolThe files-consent decision (required).
attach_session_record: boolConsent to attach the session record; honored only for
bug/badResult with session_id present. true with
with_files: false, with a non-bug/badResult classification,
or without session_id is invalidParams (F4, F8).
Defaults to false.
session_id: Option<String>Names the session this call is about when present (F8,
superseding F3): the bundle lands in that session’s dir. Names a
session this host owns. When absent, the bundle lands in the
host-level feedback folder and the session_id tag is omitted.
client_artifacts_path: Option<String>An absolute same-host path to a client-packed bundle, admitted only as a regular file under a size cap.