pub struct PrivacyFindingsDto {
pub by_label_total: Vec<PrivacyFindingDto>,
pub recent_scans: Vec<RedactionScanSummaryDto>,
}Expand description
ISS-017 — Privacy Findings 面板的聚合 payload。
绝不展原文:UI 用此 DTO 渲染时必须仅展示 label 字面量、计数、fingerprint
截断字符串;不得 join span 或还原文本(audit grep 守门 test_schema_forbids_plaintext_columns
的语义延伸到 UI 层)。
Fields§
§by_label_total: Vec<PrivacyFindingDto>全局 label 聚合(count DESC, label ASC)
recent_scans: Vec<RedactionScanSummaryDto>最近 N 条 scans 的摘要(按 ts DESC, scan_id DESC)
Trait Implementations§
Source§impl Clone for PrivacyFindingsDto
impl Clone for PrivacyFindingsDto
Source§fn clone(&self) -> PrivacyFindingsDto
fn clone(&self) -> PrivacyFindingsDto
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 PrivacyFindingsDto
impl Debug for PrivacyFindingsDto
Source§impl Default for PrivacyFindingsDto
impl Default for PrivacyFindingsDto
Source§fn default() -> PrivacyFindingsDto
fn default() -> PrivacyFindingsDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrivacyFindingsDto
impl<'de> Deserialize<'de> for PrivacyFindingsDto
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PrivacyFindingsDto
Source§impl PartialEq for PrivacyFindingsDto
impl PartialEq for PrivacyFindingsDto
Source§fn eq(&self, other: &PrivacyFindingsDto) -> bool
fn eq(&self, other: &PrivacyFindingsDto) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PrivacyFindingsDto
impl Serialize for PrivacyFindingsDto
impl StructuralPartialEq for PrivacyFindingsDto
Auto Trait Implementations§
impl Freeze for PrivacyFindingsDto
impl RefUnwindSafe for PrivacyFindingsDto
impl Send for PrivacyFindingsDto
impl Sync for PrivacyFindingsDto
impl Unpin for PrivacyFindingsDto
impl UnsafeUnpin for PrivacyFindingsDto
impl UnwindSafe for PrivacyFindingsDto
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