pub struct CoverageRecord {
pub tool: String,
pub platform: String,
pub arch: String,
pub status: CoverageStatus,
pub version: String,
pub registry_ref: String,
pub registry_digest: String,
pub error_tail: String,
pub recorded_at: String,
}Expand description
One coverage row: how provisioning tool went on (platform, arch).
This is the exact wire shape sent (POST) to /v1/coverage (single record; the
server accepts single or batch — we send single).
Fields§
§tool: StringFormula/tool name (e.g. "protobuf" — protoc is its binary).
platform: StringPlatform token: "macos" | "windows" (matches platform_token() /
the lockfile platform key).
arch: StringArch token: "arm64" | "x86_64" (matches arch_token() /
windows_arch_token() cache-key tokens; never the vendor "amd64").
status: CoverageStatusProvisioning outcome.
version: StringResolved tool version (e.g. "1.8.2").
registry_ref: StringOCI reference the built toolchain was published under, when any.
registry_digest: StringDigest of the published toolchain artifact, when any.
error_tail: StringTail of the build log on failure (ContainerBuildReport::log_tail).
recorded_at: StringISO-8601 / RFC3339 UTC timestamp — generate with now_rfc3339.
Trait Implementations§
Source§impl Clone for CoverageRecord
impl Clone for CoverageRecord
Source§fn clone(&self) -> CoverageRecord
fn clone(&self) -> CoverageRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more