pub struct ResolvedPlugin {
pub name: String,
pub source: String,
pub wasm_bytes: Vec<u8>,
pub version: Option<String>,
pub plugin_type: Option<String>,
pub body_access: bool,
}Expand description
A resolved plugin ready for bundling.
Fields§
§name: StringPlugin name.
source: StringSource description.
wasm_bytes: Vec<u8>WASM binary content.
version: Option<String>Plugin version (from plugin.toml if available).
plugin_type: Option<String>Plugin type: “middleware” or “dispatcher” (from plugin.toml if available).
body_access: boolWhether this plugin needs the request body in on_request.
Trait Implementations§
Source§impl Clone for ResolvedPlugin
impl Clone for ResolvedPlugin
Source§fn clone(&self) -> ResolvedPlugin
fn clone(&self) -> ResolvedPlugin
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 moreAuto Trait Implementations§
impl Freeze for ResolvedPlugin
impl RefUnwindSafe for ResolvedPlugin
impl Send for ResolvedPlugin
impl Sync for ResolvedPlugin
impl Unpin for ResolvedPlugin
impl UnsafeUnpin for ResolvedPlugin
impl UnwindSafe for ResolvedPlugin
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