pub struct StaticMute {
pub apply_time: Option<DateTime<Utc>>,
pub state: Option<String>,
}Expand description
Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly.
This type is not used in any activity, and only used as part of another schema.
Fields§
§apply_time: Option<DateTime<Utc>>When the static mute was applied.
state: Option<String>The static mute state. If the value is MUTED or UNMUTED, then the finding’s overall mute state will have the same value.
Trait Implementations§
Source§impl Clone for StaticMute
impl Clone for StaticMute
Source§fn clone(&self) -> StaticMute
fn clone(&self) -> StaticMute
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 StaticMute
impl Debug for StaticMute
Source§impl Default for StaticMute
impl Default for StaticMute
Source§fn default() -> StaticMute
fn default() -> StaticMute
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StaticMute
impl<'de> Deserialize<'de> for StaticMute
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 StaticMute
impl Serialize for StaticMute
impl Part for StaticMute
Auto Trait Implementations§
impl Freeze for StaticMute
impl RefUnwindSafe for StaticMute
impl Send for StaticMute
impl Sync for StaticMute
impl Unpin for StaticMute
impl UnwindSafe for StaticMute
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