pub struct PluginCatalog {
pub catalog: Vec<PluginCatalogEntry>,
}Expand description
The plugins section of the registry manifest.
Fields§
§catalog: Vec<PluginCatalogEntry>Available plugins for installation.
Implementations§
Source§impl PluginCatalog
impl PluginCatalog
Sourcepub fn search(&self, query: &str) -> Vec<&PluginCatalogEntry>
pub fn search(&self, query: &str) -> Vec<&PluginCatalogEntry>
Search catalog entries by name or description substring (case-insensitive).
Sourcepub fn find(&self, name: &str) -> Option<&PluginCatalogEntry>
pub fn find(&self, name: &str) -> Option<&PluginCatalogEntry>
Find a specific plugin by exact name.
Trait Implementations§
Source§impl Clone for PluginCatalog
impl Clone for PluginCatalog
Source§fn clone(&self) -> PluginCatalog
fn clone(&self) -> PluginCatalog
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 moreSource§impl Debug for PluginCatalog
impl Debug for PluginCatalog
Source§impl Default for PluginCatalog
impl Default for PluginCatalog
Source§fn default() -> PluginCatalog
fn default() -> PluginCatalog
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginCatalog
impl<'de> Deserialize<'de> for PluginCatalog
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PluginCatalog
impl RefUnwindSafe for PluginCatalog
impl Send for PluginCatalog
impl Sync for PluginCatalog
impl Unpin for PluginCatalog
impl UnsafeUnpin for PluginCatalog
impl UnwindSafe for PluginCatalog
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