pub struct PluginProjectManifest { /* private fields */ }Expand description
Complete author-owned source manifest read from vesper-plugin.toml.
Descriptor and capability fields remain the single source for runtime registry metadata. Artifact hashes are generated from the declared source files and are never accepted from author input.
Implementations§
Source§impl PluginProjectManifest
impl PluginProjectManifest
pub fn from_toml(source: &str) -> Result<Self, PluginProjectManifestError>
pub fn descriptor(&self) -> &PluginDescriptor
Sourcepub fn artifact_descriptors(
&self,
) -> Result<Vec<PluginArtifactDescriptor>, PluginProjectManifestError>
pub fn artifact_descriptors( &self, ) -> Result<Vec<PluginArtifactDescriptor>, PluginProjectManifestError>
Projects author-owned artifact declarations into pure catalog descriptors. No artifact file is opened and no runtime is created.
pub fn artifacts(&self) -> &[PluginArtifactSource]
pub fn package_files(&self) -> &[PluginPackageFileSource]
pub fn validate_package_inputs(&self) -> Result<(), PluginProjectManifestError>
Trait Implementations§
Source§impl Clone for PluginProjectManifest
impl Clone for PluginProjectManifest
Source§fn clone(&self) -> PluginProjectManifest
fn clone(&self) -> PluginProjectManifest
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 moreSource§impl Debug for PluginProjectManifest
impl Debug for PluginProjectManifest
impl Eq for PluginProjectManifest
Source§impl PartialEq for PluginProjectManifest
impl PartialEq for PluginProjectManifest
impl StructuralPartialEq for PluginProjectManifest
Auto Trait Implementations§
impl Freeze for PluginProjectManifest
impl RefUnwindSafe for PluginProjectManifest
impl Send for PluginProjectManifest
impl Sync for PluginProjectManifest
impl Unpin for PluginProjectManifest
impl UnsafeUnpin for PluginProjectManifest
impl UnwindSafe for PluginProjectManifest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.