pub struct PluginConfig {
pub name: String,
pub version: String,
pub source: PluginSource,
pub status: PluginStatus,
pub scope: PluginScope,
pub enabled: bool,
pub path: PathBuf,
pub installed_at: DateTime<Utc>,
pub marketplace: Option<String>,
}Expand description
Configuration for a single installed plugin.
Fields§
§name: StringPlugin name.
version: StringInstalled version.
source: PluginSourceInstallation source.
status: PluginStatusCurrent status.
scope: PluginScopeInstallation scope.
enabled: boolWhether the plugin is enabled.
path: PathBufPath to the installed plugin directory.
installed_at: DateTime<Utc>When the plugin was installed.
marketplace: Option<String>Marketplace this plugin came from (if applicable).
Trait Implementations§
Source§impl Clone for PluginConfig
impl Clone for PluginConfig
Source§fn clone(&self) -> PluginConfig
fn clone(&self) -> PluginConfig
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 PluginConfig
impl Debug for PluginConfig
Source§impl<'de> Deserialize<'de> for PluginConfig
impl<'de> Deserialize<'de> for PluginConfig
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 PluginConfig
impl RefUnwindSafe for PluginConfig
impl Send for PluginConfig
impl Sync for PluginConfig
impl Unpin for PluginConfig
impl UnsafeUnpin for PluginConfig
impl UnwindSafe for PluginConfig
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