pub struct TypeAwareCallEvidenceMeta {
pub default_candidates: usize,
pub method_candidates: usize,
pub findings: usize,
pub abstention_reasons: BTreeMap<String, usize>,
pub elapsed_ms: u64,
}Expand description
The call evidence that the constant-parameter rule asked the companion
for.
Fields§
§default_candidates: usizeParameters with a default whose arguments the companion typed.
method_candidates: usizeMethods of exported classes whose calls the companion read.
findings: usizeFindings that the evidence proved.
abstention_reasons: BTreeMap<String, usize>The count of each reason that a candidate got no evidence, such as
outside-program or decorator. An open set: a later version can
add a reason.
elapsed_ms: u64Duration of the request as reported by the companion.
Trait Implementations§
Source§impl Clone for TypeAwareCallEvidenceMeta
impl Clone for TypeAwareCallEvidenceMeta
Source§impl Debug for TypeAwareCallEvidenceMeta
impl Debug for TypeAwareCallEvidenceMeta
Source§impl Default for TypeAwareCallEvidenceMeta
impl Default for TypeAwareCallEvidenceMeta
Source§impl<'de> Deserialize<'de> for TypeAwareCallEvidenceMeta
impl<'de> Deserialize<'de> for TypeAwareCallEvidenceMeta
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
impl Eq for TypeAwareCallEvidenceMeta
impl StructuralPartialEq for TypeAwareCallEvidenceMeta
Auto Trait Implementations§
impl Forget for TypeAwareCallEvidenceMeta
impl Freeze for TypeAwareCallEvidenceMeta
impl Move for TypeAwareCallEvidenceMeta
impl RefUnwindSafe for TypeAwareCallEvidenceMeta
impl Send for TypeAwareCallEvidenceMeta
impl Sync for TypeAwareCallEvidenceMeta
impl Unpin for TypeAwareCallEvidenceMeta
impl UnsafeUnpin for TypeAwareCallEvidenceMeta
impl UnwindSafe for TypeAwareCallEvidenceMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.