#[repr(C)]pub struct PluginManifest {
pub abi_version: u32,
pub plugin_name: BorrowedStr<'static>,
pub plugin_vendor: BorrowedStr<'static>,
pub plugin_version: BorrowedStr<'static>,
pub build_id: PluginBuildId,
}Expand description
The static, process-lifetime metadata a plug-in returns from
nautilus_plugin_init.
Public OSS metadata stops here. Strategy, actor, controller, and model extension registration belongs to the host/sys layer that generates and validates the private bridge contract.
Fields§
§abi_version: u32ABI version. Must equal NAUTILUS_PLUGIN_ABI_VERSION or the host
refuses to load the plug-in.
plugin_name: BorrowedStr<'static>Short machine-readable plug-in name (e.g. "my-momentum").
plugin_vendor: BorrowedStr<'static>Free-form vendor or author string.
plugin_version: BorrowedStr<'static>Plug-in version (typically the crate’s CARGO_PKG_VERSION).
build_id: PluginBuildIdVersioned build identifier for diagnostics.
Implementations§
Source§impl PluginManifest
impl PluginManifest
Sourcepub fn matches_compiled_abi(&self) -> bool
pub fn matches_compiled_abi(&self) -> bool
Returns whether this manifest is compatible with the compiled-in ABI.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PluginManifest
impl RefUnwindSafe for PluginManifest
impl Send for PluginManifest
impl Sync for PluginManifest
impl Unpin for PluginManifest
impl UnsafeUnpin for PluginManifest
impl UnwindSafe for PluginManifest
Blanket Implementations§
impl<T> Allocation for T
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