pub struct EvaluationSummary {
pub id: String,
pub state: String,
pub created_at: String,
pub finished_at: Option<String>,
pub counts: BTreeMap<String, u64>,
pub projects: Vec<String>,
pub contradictions: bool,
pub error: Option<String>,
}Expand description
One run, as GET /v1/evaluations lists it: counts, never findings or
details.
Fields§
§id: Stringeval_….
state: String§created_at: StringWhen it was asked for.
finished_at: Option<String>When its report came in, or it failed; null until then.
counts: BTreeMap<String, u64>How many findings of each kind, by kind; only kinds it found.
projects: Vec<String>The projects asked for; empty for every project.
contradictions: boolWhether the contradiction check was asked for.
error: Option<String>Why it failed, or the last error of an attempt that will be retried;
null otherwise.
Trait Implementations§
Source§impl Clone for EvaluationSummary
impl Clone for EvaluationSummary
Source§impl Debug for EvaluationSummary
impl Debug for EvaluationSummary
Source§impl Default for EvaluationSummary
impl Default for EvaluationSummary
Source§impl<'de> Deserialize<'de> for EvaluationSummary
impl<'de> Deserialize<'de> for EvaluationSummary
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 EvaluationSummary
Source§impl PartialEq for EvaluationSummary
impl PartialEq for EvaluationSummary
Source§impl Serialize for EvaluationSummary
impl Serialize for EvaluationSummary
impl StructuralPartialEq for EvaluationSummary
Auto Trait Implementations§
impl Freeze for EvaluationSummary
impl RefUnwindSafe for EvaluationSummary
impl Send for EvaluationSummary
impl Sync for EvaluationSummary
impl Unpin for EvaluationSummary
impl UnsafeUnpin for EvaluationSummary
impl UnwindSafe for EvaluationSummary
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.