pub struct InstallParams {Show 13 fields
pub usb_image: Option<PathBuf>,
pub win_iso: Option<PathBuf>,
pub screenshots_every_secs: u64,
pub classify_every_secs: Option<u64>,
pub username: String,
pub password: String,
pub recovery: bool,
pub auto_updates: bool,
pub install_timeout_secs: u64,
pub memory_mb: u32,
pub cpus: u32,
pub disk_size_gb: u32,
pub display: Display,
}Expand description
One orchestrator for all install stages: grouping the params in a struct beats counting them in a lint attribute.
Fields§
§usb_image: Option<PathBuf>§win_iso: Option<PathBuf>§screenshots_every_secs: u64§classify_every_secs: Option<u64>§username: String§password: String§recovery: bool§auto_updates: bool§install_timeout_secs: u64§memory_mb: u32§cpus: u32§disk_size_gb: u32§display: DisplayAuto Trait Implementations§
impl Forget for InstallParams
impl Freeze for InstallParams
impl Move for InstallParams
impl RefUnwindSafe for InstallParams
impl Send for InstallParams
impl Sync for InstallParams
impl Unpin for InstallParams
impl UnsafeUnpin for InstallParams
impl UnwindSafe for InstallParams
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