#[repr(C)]pub struct PluginBuildId {
pub schema_version: u32,
pub nautilus_plugin_version: BorrowedStr<'static>,
pub rustc_version: BorrowedStr<'static>,
pub target_triple: BorrowedStr<'static>,
pub build_profile: BorrowedStr<'static>,
pub precision_mode: BorrowedStr<'static>,
pub fixed_precision: u8,
}Expand description
Versioned build identifier carried by PluginManifest.
The fields identify the Nautilus plug-in crate and build environment that produced the manifest. The host validates the precision mode because it changes model type layout across the plug-in boundary. Other build fields remain diagnostic.
Fields§
§schema_version: u32Build identifier schema version. Must equal
PLUGIN_BUILD_ID_VERSION for the fields below.
nautilus_plugin_version: BorrowedStr<'static>Version of the nautilus-plugin crate used to build the plug-in.
rustc_version: BorrowedStr<'static>Rust compiler version reported by rustc --version, or empty when it
was unavailable to the build script.
target_triple: BorrowedStr<'static>Cargo target triple, or empty when Cargo did not expose one.
build_profile: BorrowedStr<'static>Cargo build profile, or empty when Cargo did not expose one.
precision_mode: BorrowedStr<'static>Model fixed-point precision mode used to build the plug-in.
fixed_precision: u8Maximum fixed-point decimal precision used to build the plug-in.
Implementations§
Source§impl PluginBuildId
impl PluginBuildId
Trait Implementations§
Source§impl Clone for PluginBuildId
impl Clone for PluginBuildId
Source§fn clone(&self) -> PluginBuildId
fn clone(&self) -> PluginBuildId
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more