pub struct AddAction {
pub plugin_path: PathBuf,
pub plugin_name: String,
pub source: String,
pub is_external: bool,
pub conflict: Option<ConflictResolution>,
}Expand description
A planned action for adding a single plugin.
Fields§
§plugin_path: PathBufResolved path to the plugin directory on disk.
plugin_name: StringThe name of the plugin (from plugin.json).
source: StringThe source value for the marketplace entry.
is_external: boolWhether the plugin is already under pluginRoot.
conflict: Option<ConflictResolution>How to resolve a name conflict, if one exists.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AddAction
impl RefUnwindSafe for AddAction
impl Send for AddAction
impl Sync for AddAction
impl Unpin for AddAction
impl UnsafeUnpin for AddAction
impl UnwindSafe for AddAction
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