pub struct Loaded {Show 16 fields
pub name: String,
pub source: ExtensionSource,
pub folder: PathBuf,
pub rel: String,
pub version: Option<String>,
pub description: Option<String>,
pub origin: Option<AddedFrom>,
pub digest: String,
pub files: Vec<HookFile>,
pub hooks: Vec<HookDef>,
pub views: Vec<ViewDef>,
pub skills: Vec<(String, PathBuf)>,
pub servers: Vec<Server>,
pub commands: Vec<String>,
pub offers: Vec<Offer>,
pub problems: Vec<String>,
}Expand description
One extension as loaded.
Fields§
§name: StringIts name.
source: ExtensionSourceAgent Plugins or Spec Kit.
folder: PathBufIts folder.
rel: StringIts folder, relative to the project.
version: Option<String>Its version.
description: Option<String>What it says it is.
origin: Option<AddedFrom>Where it was added from.
digest: Stringsha256:<hex> over every file.
files: Vec<HookFile>Every file and its digest.
hooks: Vec<HookDef>Its [hooks], named <ext>.<hook>.
views: Vec<ViewDef>Its [views].
skills: Vec<(String, PathBuf)>Its skills: (<ext>:<skill>, SKILL.md).
servers: Vec<Server>Its stdio MCP servers.
commands: Vec<String>Spec Kit: its commands.
offers: Vec<Offer>Spec Kit: its hooks.
problems: Vec<String>Why it cannot be loaded.
Implementations§
Source§impl Loaded
impl Loaded
Sourcepub fn contributions(&self) -> Vec<Contribution>
pub fn contributions(&self) -> Vec<Contribution>
What it contributes, in words.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Loaded
impl Freeze for Loaded
impl Move for Loaded
impl RefUnwindSafe for Loaded
impl Send for Loaded
impl Sync for Loaded
impl Unpin for Loaded
impl UnsafeUnpin for Loaded
impl UnwindSafe for Loaded
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.
Creates a shared type from an unshared type.