OptrisOptrisDocumentation

Documentation/OTC SDK/optris_sdk — Rust API referencev12.0

BuildInfo

pub struct BuildInfo

Which build of the SDK is loaded.

BuildInfo — fields

version: String

Product version for display, e.g. "12.0.0". The same value crate::version_string returns; both read one generated constant, so they cannot disagree.

commit: String

Abbreviated hash of the commit it was built from, with -dirty appended if the working tree differed, or "unknown".

commit_date: String

That commit's date, ISO 8601 with a zone offset, or "unknown".

branch: String

The branch it was built from, or "unknown". A release build is made from a detached checkout of a bare revision, so this is what the build system said it was building rather than anything the checkout remembers.

build_type: String

The CMake build type, e.g. "Release".

build_date: String

When it was compiled, ISO 8601, always UTC.

os: String

The operating system it was built for, e.g. "Linux".

platform: String

The architecture it was built for, e.g. "amd64".