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§fn clone(&self) -> TypeAwareCallEvidenceMeta
fn clone(&self) -> TypeAwareCallEvidenceMeta
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 TypeAwareCallEvidenceMeta
impl Debug for TypeAwareCallEvidenceMeta
Source§impl Default for TypeAwareCallEvidenceMeta
impl Default for TypeAwareCallEvidenceMeta
Source§fn default() -> TypeAwareCallEvidenceMeta
fn default() -> TypeAwareCallEvidenceMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TypeAwareCallEvidenceMeta
impl<'de> Deserialize<'de> for TypeAwareCallEvidenceMeta
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeAwareCallEvidenceMeta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TypeAwareCallEvidenceMeta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TypeAwareCallEvidenceMeta
Source§impl JsonSchema for TypeAwareCallEvidenceMeta
impl JsonSchema for TypeAwareCallEvidenceMeta
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for TypeAwareCallEvidenceMeta
impl Serialize for TypeAwareCallEvidenceMeta
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
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.