pub struct MaskAuditLog { /* private fields */ }Expand description
脱敏审计日志:记录所有脱敏操作
Implementations§
Source§impl MaskAuditLog
impl MaskAuditLog
Sourcepub fn entries(&self) -> &[MaskAuditEntry]
pub fn entries(&self) -> &[MaskAuditEntry]
所有审计条目
Sourcepub fn entry_count(&self) -> usize
pub fn entry_count(&self) -> usize
条目数
Sourcepub fn total_masked_chars(&self) -> usize
pub fn total_masked_chars(&self) -> usize
被掩码的字符总数(original_len - masked_len 之和)
Trait Implementations§
Source§impl Clone for MaskAuditLog
impl Clone for MaskAuditLog
Source§fn clone(&self) -> MaskAuditLog
fn clone(&self) -> MaskAuditLog
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 MaskAuditLog
impl Debug for MaskAuditLog
Source§impl Default for MaskAuditLog
impl Default for MaskAuditLog
Source§fn default() -> MaskAuditLog
fn default() -> MaskAuditLog
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MaskAuditLog
impl RefUnwindSafe for MaskAuditLog
impl Send for MaskAuditLog
impl Sync for MaskAuditLog
impl Unpin for MaskAuditLog
impl UnsafeUnpin for MaskAuditLog
impl UnwindSafe for MaskAuditLog
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