pub struct BaselineRecord {
pub scenario: String,
pub actual_units: u64,
pub budget: Option<u64>,
pub timestamp: Option<String>,
pub git_commit: Option<String>,
pub fingerprint: Fingerprint,
pub solana_versions: Vec<String>,
pub profiler_version: String,
pub instrumentation: InstrumentationMode,
pub confidence: ConfidenceLevel,
pub approved: bool,
}Expand description
A single scenario’s recorded baseline.
Fields§
§scenario: StringScenario name.
actual_units: u64Recorded CU.
budget: Option<u64>Budget at record time, if any.
timestamp: Option<String>RFC3339 timestamp, if recorded.
git_commit: Option<String>Git commit, if known.
fingerprint: FingerprintFingerprint of the inputs.
solana_versions: Vec<String>Solana/Agave crate versions, if known.
profiler_version: StringProfiler version that produced the baseline.
instrumentation: InstrumentationModeInstrumentation mode at record time.
confidence: ConfidenceLevelConfidence at record time.
approved: boolWhether the record has been explicitly approved.
Trait Implementations§
Source§impl Clone for BaselineRecord
impl Clone for BaselineRecord
Source§fn clone(&self) -> BaselineRecord
fn clone(&self) -> BaselineRecord
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 BaselineRecord
impl Debug for BaselineRecord
Source§impl<'de> Deserialize<'de> for BaselineRecord
impl<'de> Deserialize<'de> for BaselineRecord
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 PartialEq for BaselineRecord
impl PartialEq for BaselineRecord
Source§fn eq(&self, other: &BaselineRecord) -> bool
fn eq(&self, other: &BaselineRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BaselineRecord
impl Serialize for BaselineRecord
impl StructuralPartialEq for BaselineRecord
Auto Trait Implementations§
impl Freeze for BaselineRecord
impl RefUnwindSafe for BaselineRecord
impl Send for BaselineRecord
impl Sync for BaselineRecord
impl Unpin for BaselineRecord
impl UnsafeUnpin for BaselineRecord
impl UnwindSafe for BaselineRecord
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