pub struct SshCmd {Show 14 fields
pub ssh_host: Option<String>,
pub ssh_port: u16,
pub ssh_username: Option<String>,
pub ssh_password: Option<String>,
pub private_key: Option<PathBuf>,
pub private_key_passphrase: Option<String>,
pub command: Option<String>,
pub term: Option<String>,
pub no_host_key_check: bool,
pub host_key: Option<String>,
pub known_hosts_file: Option<PathBuf>,
pub cloudflared_hostname: Option<String>,
pub cloudflared_binary: Option<PathBuf>,
pub cloudflared_destination: Option<String>,
}Fields§
§ssh_host: Option<String>§ssh_port: u16§ssh_username: Option<String>§ssh_password: Option<String>§private_key: Option<PathBuf>§private_key_passphrase: Option<String>§command: Option<String>§term: Option<String>§no_host_key_check: bool§host_key: Option<String>§known_hosts_file: Option<PathBuf>§cloudflared_hostname: Option<String>§cloudflared_binary: Option<PathBuf>§cloudflared_destination: Option<String>Trait Implementations§
Source§impl Args for SshCmd
impl Args for SshCmd
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for SshCmd
impl FromArgMatches for SshCmd
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for SshCmd
impl RefUnwindSafe for SshCmd
impl Send for SshCmd
impl Sync for SshCmd
impl Unpin for SshCmd
impl UnsafeUnpin for SshCmd
impl UnwindSafe for SshCmd
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more