#[non_exhaustive]pub struct Step {
pub program: String,
pub args: Vec<String>,
pub note: Option<Note>,
pub interactions: Vec<Interaction>,
/* private fields */
}Expand description
One command of an install or removal.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.program: StringThe program to run.
args: Vec<String>Its arguments.
note: Option<Note>What a UI shows before it instead of its command line, when it says one.
interactions: Vec<Interaction>What it asks of the person at the computer while it runs or after it (a password prompt, a
vendor’s agreement they accept in its app, a restart after it), in order: a UI says them
before the install and again as the step starts (super::interaction). Empty when it
asks nothing.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Step
impl Freeze for Step
impl Move for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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