pub struct ScanModule {
pub id: String,
pub name: String,
pub module_type: String,
pub is_fatal: bool,
pub selected: bool,
pub size: Option<u64>,
pub platform: Option<String>,
}
Expand description
Represents a module available for scanning
Fields§
§id: String
Module ID
name: String
Module name
module_type: String
Module type
is_fatal: bool
Whether module is fatal (required for scan)
selected: bool
Whether module should be selected for scanning
size: Option<u64>
Module size
platform: Option<String>
Module platform
Trait Implementations§
Source§impl Clone for ScanModule
impl Clone for ScanModule
Source§fn clone(&self) -> ScanModule
fn clone(&self) -> ScanModule
Returns a duplicate of the value. Read more
1.0.0 · 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 ScanModule
impl Debug for ScanModule
Source§impl<'de> Deserialize<'de> for ScanModule
impl<'de> Deserialize<'de> for ScanModule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ScanModule
impl RefUnwindSafe for ScanModule
impl Send for ScanModule
impl Sync for ScanModule
impl Unpin for ScanModule
impl UnwindSafe for ScanModule
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