pub struct BudgetedScanOutcome {
pub result: RedactionResult,
pub status: EngineStatus,
}Expand description
v0.7-α2 Phase 2D — scan_text_with_engine_budgeted 输出。
区别于 RedactionResult:多带一个 EngineStatus 标记供 caller 决策审计/UI。
Fields§
§result: RedactionResult与 scan_text_with_engine 同形态;findings 已合并(Hard + 可能的 Model)
status: EngineStatus模型路径执行状态(Ok / DegradedTimeout / DegradedError)
Trait Implementations§
Source§impl Clone for BudgetedScanOutcome
impl Clone for BudgetedScanOutcome
Source§fn clone(&self) -> BudgetedScanOutcome
fn clone(&self) -> BudgetedScanOutcome
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 moreAuto Trait Implementations§
impl Freeze for BudgetedScanOutcome
impl RefUnwindSafe for BudgetedScanOutcome
impl Send for BudgetedScanOutcome
impl Sync for BudgetedScanOutcome
impl Unpin for BudgetedScanOutcome
impl UnsafeUnpin for BudgetedScanOutcome
impl UnwindSafe for BudgetedScanOutcome
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