pub struct BaselineControl {
pub name: String,
pub satisfied: bool,
pub detail: String,
}Expand description
One probed baseline control.
Fields§
§name: StringControl name (one of BASELINE_CONTROLS).
satisfied: boolWhether the primitive was found present on this host.
detail: StringHuman-legible probe detail (the path checked / why it failed).
Trait Implementations§
Source§impl Clone for BaselineControl
impl Clone for BaselineControl
Source§fn clone(&self) -> BaselineControl
fn clone(&self) -> BaselineControl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BaselineControl
impl Debug for BaselineControl
Source§impl<'de> Deserialize<'de> for BaselineControl
impl<'de> Deserialize<'de> for BaselineControl
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
impl Eq for BaselineControl
Source§impl PartialEq for BaselineControl
impl PartialEq for BaselineControl
Source§fn eq(&self, other: &BaselineControl) -> bool
fn eq(&self, other: &BaselineControl) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BaselineControl
impl Serialize for BaselineControl
impl StructuralPartialEq for BaselineControl
Auto Trait Implementations§
impl Freeze for BaselineControl
impl RefUnwindSafe for BaselineControl
impl Send for BaselineControl
impl Sync for BaselineControl
impl Unpin for BaselineControl
impl UnsafeUnpin for BaselineControl
impl UnwindSafe for BaselineControl
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