pub struct DataProtectionCatalog { /* private fields */ }Expand description
In-memory catalog of caller-supplied data protection records.
Implementations§
Source§impl DataProtectionCatalog
impl DataProtectionCatalog
pub fn new() -> Self
pub fn record( &mut self, record: DataProtectionRecord, ) -> Option<DataProtectionRecord>
pub fn records_by_classification( &self, classification: DataClassification, ) -> Vec<&DataProtectionRecord>
pub fn records_reported_unencrypted_at_or_above( &self, minimum: DataClassification, ) -> Vec<&DataProtectionRecord>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for DataProtectionCatalog
impl Clone for DataProtectionCatalog
Source§fn clone(&self) -> DataProtectionCatalog
fn clone(&self) -> DataProtectionCatalog
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 DataProtectionCatalog
impl Debug for DataProtectionCatalog
Source§impl Default for DataProtectionCatalog
impl Default for DataProtectionCatalog
Source§fn default() -> DataProtectionCatalog
fn default() -> DataProtectionCatalog
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DataProtectionCatalog
impl RefUnwindSafe for DataProtectionCatalog
impl Send for DataProtectionCatalog
impl Sync for DataProtectionCatalog
impl Unpin for DataProtectionCatalog
impl UnsafeUnpin for DataProtectionCatalog
impl UnwindSafe for DataProtectionCatalog
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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