pub struct MainArgs {
pub debug: bool,
pub ssh_logging: bool,
pub ssh_args: Vec<String>,
pub profile: Option<String>,
pub is_non_interactive: bool,
}Expand description
Parsed command-line arguments
Fields§
§debug: boolEnable debug logging to file
ssh_logging: boolEnable SSH session logging to file
ssh_args: Vec<String>Arguments to pass through to the SSH command
profile: Option<String>Argument to pass for configuration profiles
is_non_interactive: boolWhether the SSH command is non-interactive (e.g., -G, -V, -O, -Q, -T)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MainArgs
impl RefUnwindSafe for MainArgs
impl Send for MainArgs
impl Sync for MainArgs
impl Unpin for MainArgs
impl UnwindSafe for MainArgs
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