pub struct ContractScore {
pub stem: String,
pub spec_depth: f64,
pub falsification_coverage: f64,
pub kani_coverage: f64,
pub lean_coverage: f64,
pub binding_coverage: f64,
pub composite: f64,
pub grade: Grade,
pub probes: Vec<ScoreProbe>,
}Expand description
Score for a single contract across 5 dimensions.
Fields§
§stem: String§spec_depth: f64§falsification_coverage: f64§kani_coverage: f64§lean_coverage: f64§binding_coverage: f64§composite: f64§grade: Grade§probes: Vec<ScoreProbe>Per-dimension probe breakdown showing what contributed to each score.
Trait Implementations§
Source§impl Clone for ContractScore
impl Clone for ContractScore
Source§fn clone(&self) -> ContractScore
fn clone(&self) -> ContractScore
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 ContractScore
impl Debug for ContractScore
Source§impl<'de> Deserialize<'de> for ContractScore
impl<'de> Deserialize<'de> for ContractScore
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContractScore, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContractScore, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ContractScore
impl Display for ContractScore
Source§impl Serialize for ContractScore
impl Serialize for ContractScore
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ContractScore
impl RefUnwindSafe for ContractScore
impl Send for ContractScore
impl Sync for ContractScore
impl Unpin for ContractScore
impl UnsafeUnpin for ContractScore
impl UnwindSafe for ContractScore
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