#[non_exhaustive]pub struct MemberMeasurement {
pub member: String,
pub measurements: BTreeMap<String, Value>,
}Expand description
One configured member’s machine-readable evidence attached to a group finding.
The member order is the configuration order, while the measurement map is key-sorted for stable JSON. Values are deliberately scalar so consumers do not need to parse presentation text to recover a group comparison table.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.member: StringConfigured member name, including a name absent from the input file.
measurements: BTreeMap<String, Value>Named scalar measurements for this member. Non-finite numeric values
are excluded by Self::measurement and Finding::members.
Implementations§
Trait Implementations§
Source§impl Clone for MemberMeasurement
impl Clone for MemberMeasurement
Source§fn clone(&self) -> MemberMeasurement
fn clone(&self) -> MemberMeasurement
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 MemberMeasurement
impl Debug for MemberMeasurement
Auto Trait Implementations§
impl Freeze for MemberMeasurement
impl RefUnwindSafe for MemberMeasurement
impl Send for MemberMeasurement
impl Sync for MemberMeasurement
impl Unpin for MemberMeasurement
impl UnsafeUnpin for MemberMeasurement
impl UnwindSafe for MemberMeasurement
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