Struct malwaredb_types::exec::Imports
source · pub struct Imports {
pub imports: Vec<Import>,
pub expected_imports: u32,
}
Fields§
§imports: Vec<Import>
The collection of found imports
expected_imports: u32
The total number of imports which should have been found, in case some couldn’t be parsed
Implementations§
source§impl Imports
impl Imports
sourcepub fn build_import_string(&self) -> String
pub fn build_import_string(&self) -> String
Build a string with library.function for each pair, sorted.
sourcepub fn fuzzy_hash(&self) -> String
pub fn fuzzy_hash(&self) -> String
The fuzzy import hash is the SSDeep hash of the import string
Trait Implementations§
source§impl PartialEq<Imports> for Imports
impl PartialEq<Imports> for Imports
impl Eq for Imports
impl StructuralEq for Imports
impl StructuralPartialEq for Imports
Auto Trait Implementations§
impl RefUnwindSafe for Imports
impl Send for Imports
impl Sync for Imports
impl Unpin for Imports
impl UnwindSafe for Imports
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