pub struct PostureReport {
pub checks: Vec<PostureCheck>,
pub score: f64,
pub timestamp: String,
}Expand description
Overall posture report aggregating all checks.
Fields§
§checks: Vec<PostureCheck>Individual check results.
score: f64Overall score: passed_checks / total_checks * 100.
timestamp: StringISO 8601 timestamp of when the report was generated.
Trait Implementations§
Source§impl Clone for PostureReport
impl Clone for PostureReport
Source§fn clone(&self) -> PostureReport
fn clone(&self) -> PostureReport
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 PostureReport
impl Debug for PostureReport
Source§impl<'de> Deserialize<'de> for PostureReport
impl<'de> Deserialize<'de> for PostureReport
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 PostureReport
impl RefUnwindSafe for PostureReport
impl Send for PostureReport
impl Sync for PostureReport
impl Unpin for PostureReport
impl UnsafeUnpin for PostureReport
impl UnwindSafe for PostureReport
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