#[non_exhaustive]pub struct Scan {
pub name: Option<String>,
pub type: Option<String>,
pub type_id: Option<i64>,
pub uid: Option<String>,
}Expand description
Scan
The Scan object describes characteristics of a proactive scan.
[] Category: | Name: scan
Constraints:
- at_least_one:
[name,uid]
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>Name
The administrator-supplied or application-generated name of the scan. For example: “Home office weekly user database scan”, “Scan folders for viruses”, “Full system virus scan”
recommended
type: Option<String>Type
The type of scan.
optional
type_id: Option<i64>Type ID
The type id of the scan.
required
uid: Option<String>Scan UID
The application-defined unique identifier assigned to an instance of a scan.
recommended
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Scan
impl<'de> Deserialize<'de> for Scan
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
impl StructuralPartialEq for Scan
Auto Trait Implementations§
impl Freeze for Scan
impl RefUnwindSafe for Scan
impl Send for Scan
impl Sync for Scan
impl Unpin for Scan
impl UnwindSafe for Scan
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