pub struct PluginBundle {
pub name: String,
pub version: String,
pub plugin_type: String,
pub wasm_bytes: Vec<u8>,
pub body_access: bool,
}Expand description
A plugin to be bundled into an artifact.
Fields§
§name: StringPlugin name.
version: StringPlugin version.
plugin_type: StringPlugin type (“middleware” or “dispatcher”).
wasm_bytes: Vec<u8>WASM binary content.
body_access: boolWhether this plugin needs the request body.
Auto Trait Implementations§
impl Freeze for PluginBundle
impl RefUnwindSafe for PluginBundle
impl Send for PluginBundle
impl Sync for PluginBundle
impl Unpin for PluginBundle
impl UnsafeUnpin for PluginBundle
impl UnwindSafe for PluginBundle
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