pub struct SettingsSection {Show 24 fields
pub registry: String,
pub store_dir: String,
pub cache_dir: String,
pub concurrency: usize,
pub prefer_offline: bool,
pub frozen_lockfile: bool,
pub shamefully_hoist: bool,
pub hoist: bool,
pub hoist_pattern: Vec<String>,
pub public_hoist_pattern: Vec<String>,
pub auto_install_peers: bool,
pub strict_peer_dependencies: bool,
pub node_linker: String,
pub side_effects_cache: bool,
pub verify_store_integrity: bool,
pub ignore_scripts: bool,
pub enable_pre_post_scripts: bool,
pub resolution_mode: String,
pub shell_emulator: bool,
pub use_node_version: String,
pub pnpmfile: String,
pub global_dir: String,
pub global_bin_dir: String,
pub proxy: ProxySection,
}Fields§
§registry: String§store_dir: String§cache_dir: String§concurrency: usize§prefer_offline: bool§frozen_lockfile: bool§shamefully_hoist: bool§hoist: bool§hoist_pattern: Vec<String>§public_hoist_pattern: Vec<String>§auto_install_peers: bool§strict_peer_dependencies: bool§node_linker: String§side_effects_cache: bool§verify_store_integrity: bool§ignore_scripts: bool§enable_pre_post_scripts: bool§resolution_mode: String§shell_emulator: bool§use_node_version: String§pnpmfile: StringPath to .pnpmfile.cjs (empty = auto-detect, “false” = disabled)
global_dir: StringDirectory for global package installations
global_bin_dir: StringDirectory for global bin scripts
proxy: ProxySectionTrait Implementations§
Source§impl Clone for SettingsSection
impl Clone for SettingsSection
Source§fn clone(&self) -> SettingsSection
fn clone(&self) -> SettingsSection
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 SettingsSection
impl Debug for SettingsSection
Source§impl Default for SettingsSection
impl Default for SettingsSection
Source§impl<'de> Deserialize<'de> for SettingsSectionwhere
SettingsSection: Default,
impl<'de> Deserialize<'de> for SettingsSectionwhere
SettingsSection: Default,
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 SettingsSection
impl RefUnwindSafe for SettingsSection
impl Send for SettingsSection
impl Sync for SettingsSection
impl Unpin for SettingsSection
impl UnsafeUnpin for SettingsSection
impl UnwindSafe for SettingsSection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more