pub struct PostureCheck {
pub layer: SecurityLayer,
pub name: String,
pub passed: bool,
pub detail: String,
}Expand description
Result of a single posture check.
Fields§
§layer: SecurityLayerWhich security layer this check belongs to.
name: StringHuman-readable check name (e.g., “Jailer enabled for Firecracker”).
passed: boolWhether the check passed.
detail: StringExplanation of the result.
Trait Implementations§
Source§impl Clone for PostureCheck
impl Clone for PostureCheck
Source§fn clone(&self) -> PostureCheck
fn clone(&self) -> PostureCheck
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 PostureCheck
impl Debug for PostureCheck
Source§impl<'de> Deserialize<'de> for PostureCheck
impl<'de> Deserialize<'de> for PostureCheck
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 PostureCheck
impl RefUnwindSafe for PostureCheck
impl Send for PostureCheck
impl Sync for PostureCheck
impl Unpin for PostureCheck
impl UnsafeUnpin for PostureCheck
impl UnwindSafe for PostureCheck
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