pub struct PluginPaths {
pub global_plugins_dir: PathBuf,
pub project_plugins_dir: PathBuf,
pub global_marketplaces_dir: PathBuf,
pub global_plugin_cache_dir: PathBuf,
pub known_marketplaces_file: PathBuf,
pub global_installed_plugins_file: PathBuf,
pub project_installed_plugins_file: PathBuf,
}Expand description
Paths used by the plugin manager.
Fields§
§global_plugins_dir: PathBufGlobal plugins directory: ~/.opendev/plugins/
project_plugins_dir: PathBufProject plugins directory: .opendev/plugins/
global_marketplaces_dir: PathBufGlobal marketplaces directory: ~/.opendev/marketplaces/
global_plugin_cache_dir: PathBufGlobal plugin cache: ~/.opendev/plugins/cache/
known_marketplaces_file: PathBufKnown marketplaces registry file.
global_installed_plugins_file: PathBufGlobal installed plugins registry file.
project_installed_plugins_file: PathBufProject installed plugins registry file.
Implementations§
Trait Implementations§
Source§impl Clone for PluginPaths
impl Clone for PluginPaths
Source§fn clone(&self) -> PluginPaths
fn clone(&self) -> PluginPaths
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 moreAuto Trait Implementations§
impl Freeze for PluginPaths
impl RefUnwindSafe for PluginPaths
impl Send for PluginPaths
impl Sync for PluginPaths
impl Unpin for PluginPaths
impl UnsafeUnpin for PluginPaths
impl UnwindSafe for PluginPaths
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