pub struct BenchMeta {
pub spec: EmbeddedBenchSpec,
pub commit_hash: Option<String>,
pub branch: Option<String>,
pub dirty: Option<bool>,
pub build_time: String,
pub build_time_unix: u64,
pub target: String,
pub profile: String,
pub mobench_version: String,
pub rust_version: Option<String>,
pub host_os: String,
}Available on crate feature
full only.Expand description
Build metadata for artifact correlation and traceability.
This struct captures metadata about the build environment to enable reproducibility and debugging of benchmark results.
Fields§
§spec: EmbeddedBenchSpecBenchmark specification that was used
commit_hash: Option<String>Git commit hash (if in a git repository)
branch: Option<String>Git branch name (if available)
dirty: Option<bool>Whether the git working directory was dirty
build_time: StringBuild timestamp in RFC3339 format
build_time_unix: u64Build timestamp as Unix epoch seconds
target: StringTarget platform (“android” or “ios”)
profile: StringBuild profile (“debug” or “release”)
mobench_version: Stringmobench version
rust_version: Option<String>Rust version used for the build
host_os: StringHost OS (e.g., “macos”, “linux”)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BenchMeta
impl<'de> Deserialize<'de> for BenchMeta
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
Auto Trait Implementations§
impl Freeze for BenchMeta
impl RefUnwindSafe for BenchMeta
impl Send for BenchMeta
impl Sync for BenchMeta
impl Unpin for BenchMeta
impl UnsafeUnpin for BenchMeta
impl UnwindSafe for BenchMeta
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