pub struct CaptureReport {Show 20 fields
pub output_kind: &'static str,
pub state_id: String,
pub content_hash: String,
pub intent: Option<String>,
pub confidence: Option<f32>,
pub task_assignment_id: Option<String>,
pub principal: CapturePrincipalReport,
pub principal_source: String,
pub agent: Option<CaptureAgentReport>,
pub promotion_suggested: bool,
pub heavy_impact_paths: Vec<String>,
pub captured_path_count: usize,
pub warnings: Vec<String>,
pub signed: bool,
pub message: String,
pub recommended_action: Option<String>,
pub recommended_action_template: Option<ActionTemplate>,
pub verification: RepositoryVerificationState,
pub captured_thread_targets_integration: bool,
pub diagnostics: CaptureDiagnostics,
}Expand description
Final semantic report returned by the capture seam.
The CLI may project this into its stable JSON wire type or render it for a person, but it must not add recovery state or derive workflow actions.
Fields§
§output_kind: &'static str§state_id: String§content_hash: String§intent: Option<String>§confidence: Option<f32>§task_assignment_id: Option<String>§principal: CapturePrincipalReport§principal_source: String§agent: Option<CaptureAgentReport>§promotion_suggested: bool§heavy_impact_paths: Vec<String>§captured_path_count: usize§warnings: Vec<String>§signed: bool§message: String§recommended_action: Option<String>§recommended_action_template: Option<ActionTemplate>§verification: RepositoryVerificationState§captured_thread_targets_integration: bool§diagnostics: CaptureDiagnosticsImplementations§
Source§impl CaptureReport
impl CaptureReport
pub const CONTRACT: ReportContract
Trait Implementations§
Source§impl Clone for CaptureReport
impl Clone for CaptureReport
Source§fn clone(&self) -> CaptureReport
fn clone(&self) -> CaptureReport
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 CaptureReport
impl Debug for CaptureReport
Source§impl HeddleReport for CaptureReport
impl HeddleReport for CaptureReport
const CONTRACT: ReportContract = CaptureReport::CONTRACT
Source§impl JsonSchema for CaptureReport
impl JsonSchema for CaptureReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for CaptureReport
impl RefUnwindSafe for CaptureReport
impl Send for CaptureReport
impl Sync for CaptureReport
impl Unpin for CaptureReport
impl UnsafeUnpin for CaptureReport
impl UnwindSafe for CaptureReport
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