pub struct PropertyScore {
pub property_id: String,
pub name: String,
pub score: f64,
pub tests_passed: usize,
pub tests_total: usize,
}Expand description
Score for a single security property.
Fields§
§property_id: StringProperty identifier (e.g., “P1”).
name: StringProperty name.
score: f64Score as percentage (0-100).
tests_passed: usizeNumber of tests that passed.
tests_total: usizeTotal number of tests.
Trait Implementations§
Source§impl Clone for PropertyScore
impl Clone for PropertyScore
Source§fn clone(&self) -> PropertyScore
fn clone(&self) -> PropertyScore
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 PropertyScore
impl Debug for PropertyScore
Source§impl<'de> Deserialize<'de> for PropertyScore
impl<'de> Deserialize<'de> for PropertyScore
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 PropertyScore
impl RefUnwindSafe for PropertyScore
impl Send for PropertyScore
impl Sync for PropertyScore
impl Unpin for PropertyScore
impl UnsafeUnpin for PropertyScore
impl UnwindSafe for PropertyScore
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