pub struct PluginExport {
pub name: String,
pub kind: MiddlewareKind,
pub stateless: bool,
pub needs_body: bool,
pub inspects: Vec<String>,
}Expand description
Metadata for a single exported middleware within a WASM component.
Populated from registry.get-metadata() at component load time.
Fields§
§name: String§kind: MiddlewareKind§stateless: bool§needs_body: bool§inspects: Vec<String>Trait Implementations§
Source§impl Clone for PluginExport
impl Clone for PluginExport
Source§fn clone(&self) -> PluginExport
fn clone(&self) -> PluginExport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PluginExport
impl RefUnwindSafe for PluginExport
impl Send for PluginExport
impl Sync for PluginExport
impl Unpin for PluginExport
impl UnsafeUnpin for PluginExport
impl UnwindSafe for PluginExport
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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