pub struct SensorSummary {
pub id: String,
pub blocking: bool,
pub missing: MissingPolicy,
pub presence: Presence,
pub report_path: String,
pub comment_path: Option<String>,
pub verdict: Verdict,
pub truncated: bool,
pub errors: Vec<String>,
pub missing_policy_applied: Option<MissingPolicy>,
pub policy_outcome: Option<PolicyOutcome>,
}Expand description
A single sensor row in the cockpit aggregate report.
Fields§
§id: String§blocking: bool§missing: MissingPolicy§presence: Presence§report_path: String§comment_path: Option<String>§verdict: Verdict§truncated: bool§errors: Vec<String>§missing_policy_applied: Option<MissingPolicy>§policy_outcome: Option<PolicyOutcome>Trait Implementations§
Source§impl Clone for SensorSummary
impl Clone for SensorSummary
Source§fn clone(&self) -> SensorSummary
fn clone(&self) -> SensorSummary
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 SensorSummary
impl Debug for SensorSummary
Source§impl<'de> Deserialize<'de> for SensorSummary
impl<'de> Deserialize<'de> for SensorSummary
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 SensorSummary
impl PartialEq for SensorSummary
Source§impl Serialize for SensorSummary
impl Serialize for SensorSummary
impl Eq for SensorSummary
impl StructuralPartialEq for SensorSummary
Auto Trait Implementations§
impl Freeze for SensorSummary
impl RefUnwindSafe for SensorSummary
impl Send for SensorSummary
impl Sync for SensorSummary
impl Unpin for SensorSummary
impl UnsafeUnpin for SensorSummary
impl UnwindSafe for SensorSummary
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