PluginInfo
Defined in the plugins module.Rust AI Agent SDK Information about a plugin.
Fields
| Name | Type | Description |
|---|---|---|
name | String | Plugin name |
version | String | Plugin version |
description | String | Plugin description |
plugin_type | PluginType | Plugin type |
hooks | Vec<PluginHook> | Hooks this plugin listens to |
enabled | bool | Whether the plugin is enabled |
Methods
new
| Name | Type |
|---|---|
name | impl Into<String> |
version
| Name | Type |
|---|---|
version | impl Into<String> |
description
| Name | Type |
|---|---|
description | impl Into<String> |
plugin_type
| Name | Type |
|---|---|
plugin_type | PluginType |
hook
| Name | Type |
|---|---|
hook | PluginHook |
hooks
| Name | Type |
|---|---|
hooks | Vec<PluginHook> |
Source
View on GitHub
praisonai/src/plugins/mod.rs at line 107
