pub struct Effects {
pub files: Vec<FileEffect>,
pub packages: Vec<String>,
pub services: Vec<String>,
pub takes_effect: Option<String>,
pub unknown: Vec<String>,
}Expand description
What an entry’s script is expected to change, declared in its catalog file, so the change preview can show it before it runs. A script may do more than this; the preview says so.
Fields§
§files: Vec<FileEffect>§packages: Vec<String>Packages the script installs besides any of its own identity.
services: Vec<String>Services it enables, disables, starts or restarts.
takes_effect: Option<String>When the change takes effect, such as “at the next reboot”.
unknown: Vec<String>What cannot be known before it runs.
Implementations§
Trait Implementations§
impl Eq for Effects
impl StructuralPartialEq for Effects
Auto Trait Implementations§
impl Freeze for Effects
impl RefUnwindSafe for Effects
impl Send for Effects
impl Sync for Effects
impl Unpin for Effects
impl UnsafeUnpin for Effects
impl UnwindSafe for Effects
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