pub struct InstallOptions {
pub profile: Profile,
pub config_path: Option<PathBuf>,
pub overlay_paths: Vec<PathBuf>,
pub status_bar: bool,
pub yes: bool,
pub only: Vec<String>,
pub exclude: Vec<String>,
}Expand description
User-selected inputs used to load and plan an installation.
Fields§
§profile: ProfileProfile to resolve.
config_path: Option<PathBuf>Optional primary configuration path.
overlay_paths: Vec<PathBuf>Ordered overlay paths applied after the primary configuration.
status_bar: boolWhether interactive terminal progress is enabled.
yes: boolWhether selection and confirmation prompts are bypassed.
only: Vec<String>Optional inclusive component filters.
exclude: Vec<String>Component filters removed after profile resolution.
Trait Implementations§
Source§impl Clone for InstallOptions
impl Clone for InstallOptions
Source§fn clone(&self) -> InstallOptions
fn clone(&self) -> InstallOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InstallOptions
impl Debug for InstallOptions
Source§impl Default for InstallOptions
impl Default for InstallOptions
impl Eq for InstallOptions
Source§impl PartialEq for InstallOptions
impl PartialEq for InstallOptions
impl StructuralPartialEq for InstallOptions
Auto Trait Implementations§
impl Freeze for InstallOptions
impl RefUnwindSafe for InstallOptions
impl Send for InstallOptions
impl Sync for InstallOptions
impl Unpin for InstallOptions
impl UnsafeUnpin for InstallOptions
impl UnwindSafe for InstallOptions
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.