#[non_exhaustive]pub struct MalwareExclusionState {
pub excluded_file_hashes_count: i64,
pub file_path_from_last_exclusion: Option<String>,
pub file_path_from_last_inclusion: Option<String>,
}Available on crate features
dbx_team_log and sync_routes only.Expand description
Malware exclusion list state
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.excluded_file_hashes_count: i64The number of files that are excluded from the monitoring for malware alerts.
file_path_from_last_exclusion: Option<String>The file path of the last exclusion operation.
file_path_from_last_inclusion: Option<String>The file path of the last inclusion operation.
Implementations§
Source§impl MalwareExclusionState
impl MalwareExclusionState
pub fn new(excluded_file_hashes_count: i64) -> Self
pub fn with_file_path_from_last_exclusion(self, value: String) -> Self
pub fn with_file_path_from_last_inclusion(self, value: String) -> Self
Trait Implementations§
Source§impl Clone for MalwareExclusionState
impl Clone for MalwareExclusionState
Source§fn clone(&self) -> MalwareExclusionState
fn clone(&self) -> MalwareExclusionState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MalwareExclusionState
impl Debug for MalwareExclusionState
Source§impl<'de> Deserialize<'de> for MalwareExclusionState
impl<'de> Deserialize<'de> for MalwareExclusionState
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MalwareExclusionState
Source§impl PartialEq for MalwareExclusionState
impl PartialEq for MalwareExclusionState
Source§impl Serialize for MalwareExclusionState
impl Serialize for MalwareExclusionState
impl StructuralPartialEq for MalwareExclusionState
Auto Trait Implementations§
impl Freeze for MalwareExclusionState
impl RefUnwindSafe for MalwareExclusionState
impl Send for MalwareExclusionState
impl Sync for MalwareExclusionState
impl Unpin for MalwareExclusionState
impl UnsafeUnpin for MalwareExclusionState
impl UnwindSafe for MalwareExclusionState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.