pub struct VerdictRecord {
pub schema: String,
pub id: String,
pub project: String,
pub benchmark: String,
pub run_id: String,
pub status: VerdictStatus,
pub counts: VerdictCounts,
pub reasons: Vec<String>,
pub git_ref: Option<String>,
pub git_sha: Option<String>,
pub created_at: DateTime<Utc>,
}Expand description
A record of a benchmark execution verdict.
Fields§
§schema: StringSchema identifier (perfgate.verdict.v1)
id: StringUnique verdict identifier
project: StringProject identifier
benchmark: StringBenchmark name
run_id: StringRun identifier from receipt
status: VerdictStatusOverall status (pass/warn/fail/skip)
counts: VerdictCountsDetailed counts
reasons: Vec<String>List of reasons for the verdict
git_ref: Option<String>Git reference
git_sha: Option<String>Git commit SHA
created_at: DateTime<Utc>Creation timestamp
Trait Implementations§
Source§impl Clone for VerdictRecord
impl Clone for VerdictRecord
Source§fn clone(&self) -> VerdictRecord
fn clone(&self) -> VerdictRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 VerdictRecord
impl Debug for VerdictRecord
Source§impl<'de> Deserialize<'de> for VerdictRecord
impl<'de> Deserialize<'de> for VerdictRecord
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
Source§impl JsonSchema for VerdictRecord
impl JsonSchema for VerdictRecord
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 PartialEq for VerdictRecord
impl PartialEq for VerdictRecord
Source§impl Serialize for VerdictRecord
impl Serialize for VerdictRecord
impl StructuralPartialEq for VerdictRecord
Auto Trait Implementations§
impl Freeze for VerdictRecord
impl RefUnwindSafe for VerdictRecord
impl Send for VerdictRecord
impl Sync for VerdictRecord
impl Unpin for VerdictRecord
impl UnsafeUnpin for VerdictRecord
impl UnwindSafe for VerdictRecord
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