pub struct PackageManagerConfig {
pub name: String,
pub version: Option<String>,
pub executable_path: Option<PathBuf>,
pub config_files: Vec<PathBuf>,
pub cache_directory: Option<PathBuf>,
pub supports_lockfiles: bool,
pub supports_workspaces: bool,
pub isolation_level: IsolationLevel,
}
Expand description
Package manager configuration
Fields§
§name: String
Package manager name
version: Option<String>
Package manager version
executable_path: Option<PathBuf>
Path to the executable
config_files: Vec<PathBuf>
Configuration files used by this package manager
cache_directory: Option<PathBuf>
Cache directory location
supports_lockfiles: bool
Whether this package manager supports lock files
supports_workspaces: bool
Whether this package manager supports workspaces
isolation_level: IsolationLevel
Environment isolation level
Trait Implementations§
Source§impl Clone for PackageManagerConfig
impl Clone for PackageManagerConfig
Source§fn clone(&self) -> PackageManagerConfig
fn clone(&self) -> PackageManagerConfig
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 PackageManagerConfig
impl Debug for PackageManagerConfig
Source§impl<'de> Deserialize<'de> for PackageManagerConfig
impl<'de> Deserialize<'de> for PackageManagerConfig
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 PackageManagerConfig
impl RefUnwindSafe for PackageManagerConfig
impl Send for PackageManagerConfig
impl Sync for PackageManagerConfig
impl Unpin for PackageManagerConfig
impl UnwindSafe for PackageManagerConfig
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