pub struct Policy<'input> {
pub policy_name: Cow<'input, str>,
pub policy_comments: Option<()>,
pub preferences: Preferences<'input>,
pub family_selection: (),
pub individual_plugin_selection: (),
}
Expand description
Represents the <Policy>
element within a Nessus report.
This struct holds the complete configuration of the scan policy, including its name, comments, and detailed preferences for server behavior and plugin selection.
Fields§
§policy_name: Cow<'input, str>
The name of the policy (from the <policyName>
tag).
policy_comments: Option<()>
Comments associated with the policy (from <policyComments>
).
preferences: Preferences<'input>
Server and plugin preferences for the scan.
family_selection: ()
The selection of plugin families to be used in the scan.
individual_plugin_selection: ()
The selection of individual plugins to be used in the scan.
Trait Implementations§
Auto Trait Implementations§
impl<'input> Freeze for Policy<'input>
impl<'input> RefUnwindSafe for Policy<'input>
impl<'input> Send for Policy<'input>
impl<'input> Sync for Policy<'input>
impl<'input> Unpin for Policy<'input>
impl<'input> UnwindSafe for Policy<'input>
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