pub struct AntivirusOverride {
pub action: Option<String>,
pub protocol: Option<String>,
}Expand description
Defines what action to take for antivirus threats per protocol.
This type is not used in any activity, and only used as part of another schema.
Fields§
§action: Option<String>Required. Threat action override. For some threat types, only a subset of actions applies.
protocol: Option<String>Required. Protocol to match.
Trait Implementations§
Source§impl Clone for AntivirusOverride
impl Clone for AntivirusOverride
Source§fn clone(&self) -> AntivirusOverride
fn clone(&self) -> AntivirusOverride
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 AntivirusOverride
impl Debug for AntivirusOverride
Source§impl Default for AntivirusOverride
impl Default for AntivirusOverride
Source§fn default() -> AntivirusOverride
fn default() -> AntivirusOverride
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AntivirusOverride
impl<'de> Deserialize<'de> for AntivirusOverride
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
Source§impl Serialize for AntivirusOverride
impl Serialize for AntivirusOverride
impl Part for AntivirusOverride
Auto Trait Implementations§
impl Freeze for AntivirusOverride
impl RefUnwindSafe for AntivirusOverride
impl Send for AntivirusOverride
impl Sync for AntivirusOverride
impl Unpin for AntivirusOverride
impl UnwindSafe for AntivirusOverride
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