Struct nessus::structs::ScanSettingsUpdate
[−]
[src]
pub struct ScanSettingsUpdate { pub name: Option<String>, pub description: Option<String>, pub policy_id: Option<u64>, pub folder_id: Option<u64>, pub scanner_id: Option<u64>, pub enabled: bool, pub launch: Option<String>, pub starttime: Option<String>, pub rrules: Option<String>, pub timezone: Option<String>, pub text_targets: String, pub file_targets: Option<String>, pub emails: Option<String>, }
Fields
name: Option<String>
The name of the scan
description: Option<String>
The description of the scan
policy_id: Option<u64>
The unique id of the policy to use
folder_id: Option<u64>
The unique id of the destination folder for the scan
scanner_id: Option<u64>
The unique id of the scanner to use
enabled: bool
If true, the schedule for the scan is enabled
launch: Option<String>
When to launch the scan. (i.e. ON_DEMAND, DAILY, WEEKLY, MONTHLY, YEARLY)
starttime: Option<String>
The starting time and date for the scan (i.e. YYYYMMDDTHHMMSS)
rrules: Option<String>
Expects a semi-colon delimited string comprised of three values. The frequency (FREQ=ONCE or DAILY or WEEKLY or MONTHLY or YEARLY), the interval (INTERVAL=1 or 2 or 3 ... x), and the days of the week (BYDAY=SU,MO,TU,WE,TH,FR,SA). To create a scan that runs every three weeks on Monday Wednesday and Friday the string would be 'FREQ=WEEKLY;INTERVAL=3;BYDAY=MO,WE,FR'
timezone: Option<String>
The timezone for the scan schedule
text_targets: String
The list of targets to scan
file_targets: Option<String>
The name of a file containing the list of targets to scan
emails: Option<String>
A comma separated list of accounts who will recieve the email summary report
Trait Implementations
impl Debug for ScanSettingsUpdate
[src]
impl Clone for ScanSettingsUpdate
[src]
fn clone(&self) -> ScanSettingsUpdate
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for ScanSettingsUpdate
[src]
fn eq(&self, __arg_0: &ScanSettingsUpdate) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ScanSettingsUpdate) -> bool
[src]
This method tests for !=
.
impl Default for ScanSettingsUpdate
[src]
fn default() -> ScanSettingsUpdate
[src]
Returns the "default value" for a type. Read more