pub struct MaskAuditEntry { /* private fields */ }Expand description
脱敏审计条目:记录单次脱敏操作
Implementations§
Source§impl MaskAuditEntry
impl MaskAuditEntry
Sourcepub fn original_len(&self) -> usize
pub fn original_len(&self) -> usize
原始值长度
Sourcepub fn masked_len(&self) -> usize
pub fn masked_len(&self) -> usize
脱敏后长度
Sourcepub fn was_truncated(&self) -> bool
pub fn was_truncated(&self) -> bool
是否被截断(脱敏后比原始短)
Trait Implementations§
Source§impl Clone for MaskAuditEntry
impl Clone for MaskAuditEntry
Source§fn clone(&self) -> MaskAuditEntry
fn clone(&self) -> MaskAuditEntry
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 MaskAuditEntry
impl RefUnwindSafe for MaskAuditEntry
impl Send for MaskAuditEntry
impl Sync for MaskAuditEntry
impl Unpin for MaskAuditEntry
impl UnsafeUnpin for MaskAuditEntry
impl UnwindSafe for MaskAuditEntry
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