pub struct RemoteRunFlags {
pub use_sudo: bool,
pub install_payload_on_success: bool,
pub offer_reboot_on_success: bool,
pub capture_output: bool,
}Expand description
Boolean switches for a remote CLI run.
Fields§
§use_sudo: boolPrefix with sudo -n / sudo when true (apply mode).
install_payload_on_success: boolAfter a successful command, install selected ecosystem services on the box.
offer_reboot_on_success: boolAfter success (and payload install), offer an interactive box reboot (TTY only).
capture_output: boolCapture remote stdout/stderr instead of inheriting the local TTY.
Use for read-only status/doctor so callers can parse JSON. Keep false for apply paths that need interactive sudo / password prompts.
Trait Implementations§
Source§impl Clone for RemoteRunFlags
impl Clone for RemoteRunFlags
Source§fn clone(&self) -> RemoteRunFlags
fn clone(&self) -> RemoteRunFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RemoteRunFlags
Source§impl Debug for RemoteRunFlags
impl Debug for RemoteRunFlags
Source§impl Default for RemoteRunFlags
impl Default for RemoteRunFlags
Source§fn default() -> RemoteRunFlags
fn default() -> RemoteRunFlags
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RemoteRunFlags
impl RefUnwindSafe for RemoteRunFlags
impl Send for RemoteRunFlags
impl Sync for RemoteRunFlags
impl Unpin for RemoteRunFlags
impl UnsafeUnpin for RemoteRunFlags
impl UnwindSafe for RemoteRunFlags
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