pub struct SensorFinding {
pub check_id: String,
pub code: String,
pub severity: SensorSeverity,
pub message: String,
pub fingerprint: Option<String>,
pub data: Option<Value>,
}Expand description
A finding from the sensor.
Fields§
§check_id: String§code: String§severity: SensorSeverity§message: String§fingerprint: Option<String>§data: Option<Value>Trait Implementations§
Source§impl Clone for SensorFinding
impl Clone for SensorFinding
Source§fn clone(&self) -> SensorFinding
fn clone(&self) -> SensorFinding
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 SensorFinding
impl Debug for SensorFinding
Source§impl<'de> Deserialize<'de> for SensorFinding
impl<'de> Deserialize<'de> for SensorFinding
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 PartialEq for SensorFinding
impl PartialEq for SensorFinding
Source§impl Serialize for SensorFinding
impl Serialize for SensorFinding
impl StructuralPartialEq for SensorFinding
Auto Trait Implementations§
impl Freeze for SensorFinding
impl RefUnwindSafe for SensorFinding
impl Send for SensorFinding
impl Sync for SensorFinding
impl Unpin for SensorFinding
impl UnsafeUnpin for SensorFinding
impl UnwindSafe for SensorFinding
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