pub struct Entry {
pub id: String,
pub name: String,
pub description: String,
pub flags: String,
pub multi_select: bool,
pub writes: Vec<String>,
pub action: Action,
pub detect: Option<Detect>,
pub needs: Needs,
}Fields§
§id: String§name: String§description: String§flags: StringShort codes for what the entry does, shown in the flags column.
multi_select: boolWhether the entry may be queued with others.
writes: Vec<String>User paths the entry replaces, with ~ for the home directory, so the
engine can refuse to run over files another tool manages.
action: Action§detect: Option<Detect>What a script or command entry installs, so its status can be shown; package entries carry this in their action.
needs: NeedsWhat it needs from the machine, checked before a run.
Implementations§
Trait Implementations§
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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