#[non_exhaustive]pub struct LoadedPlugin {
pub manifest: Manifest,
pub skills: Vec<Skill>,
pub mcp: McpOutcome,
pub diagnostics: Vec<Diagnostic>,
}Expand description
A fully loaded plugin: the §11.1 conformance outcome.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.manifest: ManifestThe validated manifest.
skills: Vec<Skill>Valid skills, in discovery order.
mcp: McpOutcomeThe MCP component’s fate.
diagnostics: Vec<Diagnostic>Everything non-fatal the loader decided along the way.
Trait Implementations§
Source§impl Clone for LoadedPlugin
impl Clone for LoadedPlugin
Source§impl Debug for LoadedPlugin
impl Debug for LoadedPlugin
Source§impl PartialEq for LoadedPlugin
impl PartialEq for LoadedPlugin
impl StructuralPartialEq for LoadedPlugin
Auto Trait Implementations§
impl Freeze for LoadedPlugin
impl RefUnwindSafe for LoadedPlugin
impl Send for LoadedPlugin
impl Sync for LoadedPlugin
impl Unpin for LoadedPlugin
impl UnsafeUnpin for LoadedPlugin
impl UnwindSafe for LoadedPlugin
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