pub struct Remedy {
pub description: String,
pub argv: Vec<String>,
pub needs_terminal: bool,
}Expand description
A proposed fix: an existing command, never a store mutation.
Fields§
§description: StringOne line saying what running it does — and, where ordering matters, what to do first.
argv: Vec<String>The command as an argv, ready to spawn. Never empty.
needs_terminal: boolWhether the command needs the real terminal — an OAuth flow, an
$EDITOR — and must therefore inherit stdin and the screen rather
than being run with its output captured.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Remedy
impl<'de> Deserialize<'de> for Remedy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Remedy
impl StructuralPartialEq for Remedy
Auto Trait Implementations§
impl Freeze for Remedy
impl RefUnwindSafe for Remedy
impl Send for Remedy
impl Sync for Remedy
impl Unpin for Remedy
impl UnsafeUnpin for Remedy
impl UnwindSafe for Remedy
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