pub struct AdvisorySignal {
pub guard_name: String,
pub description: String,
pub severity: AdvisorySeverity,
pub metadata: Option<Value>,
pub promoted: bool,
}Expand description
A non-blocking advisory signal emitted by an advisory guard.
Fields§
§guard_name: StringName of the advisory guard that produced this signal.
description: StringHuman-readable description of the observation.
severity: AdvisorySeveritySeverity level.
metadata: Option<Value>Structured metadata about the observation.
promoted: boolWhether this signal has been promoted to a deterministic denial. This is set by the promotion policy, not by the advisory guard itself.
Trait Implementations§
Source§impl Clone for AdvisorySignal
impl Clone for AdvisorySignal
Source§fn clone(&self) -> AdvisorySignal
fn clone(&self) -> AdvisorySignal
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 AdvisorySignal
impl Debug for AdvisorySignal
Source§impl<'de> Deserialize<'de> for AdvisorySignal
impl<'de> Deserialize<'de> for AdvisorySignal
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 AdvisorySignal
impl RefUnwindSafe for AdvisorySignal
impl Send for AdvisorySignal
impl Sync for AdvisorySignal
impl Unpin for AdvisorySignal
impl UnsafeUnpin for AdvisorySignal
impl UnwindSafe for AdvisorySignal
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