pub struct BaselineSummary {
pub id: String,
pub benchmark: String,
pub version: String,
pub git_ref: Option<String>,
pub created_at: DateTime<Utc>,
pub tags: Vec<String>,
pub receipt: Option<RunReceipt>,
}Expand description
Summary of a baseline (without full receipt by default).
Fields§
§id: StringUnique baseline identifier
benchmark: StringBenchmark name
version: StringVersion identifier
git_ref: Option<String>Git reference
created_at: DateTime<Utc>Creation timestamp
Tags
receipt: Option<RunReceipt>Full receipt (only included when include_receipt=true)
Trait Implementations§
Source§impl Clone for BaselineSummary
impl Clone for BaselineSummary
Source§fn clone(&self) -> BaselineSummary
fn clone(&self) -> BaselineSummary
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 BaselineSummary
impl Debug for BaselineSummary
Source§impl<'de> Deserialize<'de> for BaselineSummary
impl<'de> Deserialize<'de> for BaselineSummary
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 From<BaselineRecord> for BaselineSummary
impl From<BaselineRecord> for BaselineSummary
Source§fn from(record: BaselineRecord) -> Self
fn from(record: BaselineRecord) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for BaselineSummary
impl JsonSchema for BaselineSummary
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 moreAuto Trait Implementations§
impl Freeze for BaselineSummary
impl RefUnwindSafe for BaselineSummary
impl Send for BaselineSummary
impl Sync for BaselineSummary
impl Unpin for BaselineSummary
impl UnsafeUnpin for BaselineSummary
impl UnwindSafe for BaselineSummary
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