pub struct TypesAndScopedPaths {
pub all_types: HashMap<String, EnumOrStruct>,
pub scoped_paths: BTreeMap<String, BTreeSet<String>>,
}
Fields§
§all_types: HashMap<String, EnumOrStruct>
§scoped_paths: BTreeMap<String, BTreeSet<String>>
Implementations§
Source§impl TypesAndScopedPaths
impl TypesAndScopedPaths
pub fn find_pii_fields( &self, type_path: Option<&str>, pii_values: &Vec<String>, ) -> Result<BTreeSet<FieldsWithAttribute>>
Sourcefn find_pii_fields_of_type(
&self,
type_path: &str,
) -> Result<BTreeSet<FieldsWithAttribute>>
fn find_pii_fields_of_type( &self, type_path: &str, ) -> Result<BTreeSet<FieldsWithAttribute>>
Finds all the PII fields recursively of a given type.
Sourcefn find_pii_fields_of_all_types(&self) -> Result<BTreeSet<FieldsWithAttribute>>
fn find_pii_fields_of_all_types(&self) -> Result<BTreeSet<FieldsWithAttribute>>
Finds all the PII fields recursively of all the types in the rust crate/workspace.
Auto Trait Implementations§
impl Freeze for TypesAndScopedPaths
impl RefUnwindSafe for TypesAndScopedPaths
impl !Send for TypesAndScopedPaths
impl !Sync for TypesAndScopedPaths
impl Unpin for TypesAndScopedPaths
impl UnwindSafe for TypesAndScopedPaths
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