pub struct ScanFrequencyRule {
pub scan_type: String,
pub frequency: String,
}Expand description
Scan frequency rule for policies
Fields§
§scan_type: StringType of scan this rule applies to
frequency: StringHow frequently scans should be performed
Trait Implementations§
Source§impl Clone for ScanFrequencyRule
impl Clone for ScanFrequencyRule
Source§fn clone(&self) -> ScanFrequencyRule
fn clone(&self) -> ScanFrequencyRule
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 ScanFrequencyRule
impl Debug for ScanFrequencyRule
Source§impl<'de> Deserialize<'de> for ScanFrequencyRule
impl<'de> Deserialize<'de> for ScanFrequencyRule
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 ScanFrequencyRule
impl RefUnwindSafe for ScanFrequencyRule
impl Send for ScanFrequencyRule
impl Sync for ScanFrequencyRule
impl Unpin for ScanFrequencyRule
impl UnwindSafe for ScanFrequencyRule
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