pub struct VariantInfo {
pub library: String,
pub checksum: String,
pub build: Option<Value>,
}Expand description
Variant-specific library information.
Each variant represents a different build configuration (release, debug, etc.) of the same plugin for a specific platform.
Fields§
§library: StringRelative path to the library within the bundle. Example: “lib/linux-x86_64/release/libplugin.so”
checksum: StringSHA256 checksum of the library file. Format: “sha256:hexstring”
build: Option<Value>Flexible build metadata - any JSON object. This can contain toolchain-specific fields like:
profile: “release” or “debug”opt_level: “0”, “1”, “2”, “3”, “s”, “z”features: [“json”, “binary”]cflags: “-O3 -march=native” (for C/C++)go_tags: [“production”] (for Go)
Trait Implementations§
Source§impl Clone for VariantInfo
impl Clone for VariantInfo
Source§fn clone(&self) -> VariantInfo
fn clone(&self) -> VariantInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VariantInfo
impl Debug for VariantInfo
Source§impl<'de> Deserialize<'de> for VariantInfo
impl<'de> Deserialize<'de> for VariantInfo
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 VariantInfo
impl RefUnwindSafe for VariantInfo
impl Send for VariantInfo
impl Sync for VariantInfo
impl Unpin for VariantInfo
impl UnwindSafe for VariantInfo
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