pub struct ConfigSettings {
pub auto_update: bool,
pub parallel_installs: u8,
pub confirm_before_install: bool,
}Fields§
§auto_update: boolAutomatically update packages
parallel_installs: u8Maximum parallel package installations
confirm_before_install: boolAsk for confirmation before installing packages
Trait Implementations§
Source§impl Clone for ConfigSettings
impl Clone for ConfigSettings
Source§fn clone(&self) -> ConfigSettings
fn clone(&self) -> ConfigSettings
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 ConfigSettings
impl Debug for ConfigSettings
Source§impl<'de> Deserialize<'de> for ConfigSettings
impl<'de> Deserialize<'de> for ConfigSettings
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 ConfigSettings
impl RefUnwindSafe for ConfigSettings
impl Send for ConfigSettings
impl Sync for ConfigSettings
impl Unpin for ConfigSettings
impl UnwindSafe for ConfigSettings
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