pub struct ConnectCmd {
pub args: Option<ConnectOpts>,
pub host: Option<String>,
pub port: Option<u16>,
pub workdir: Option<String>,
}Fields§
§args: Option<ConnectOpts>§host: Option<String>§port: Option<u16>§workdir: Option<String>Implementations§
Source§impl ConnectCmd
impl ConnectCmd
Trait Implementations§
Source§impl Args for ConnectCmd
impl Args for ConnectCmd
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 Clone for ConnectCmd
impl Clone for ConnectCmd
Source§fn clone(&self) -> ConnectCmd
fn clone(&self) -> ConnectCmd
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandFactory for ConnectCmd
impl CommandFactory for ConnectCmd
Source§impl Debug for ConnectCmd
impl Debug for ConnectCmd
Source§impl Default for ConnectCmd
impl Default for ConnectCmd
Source§fn default() -> ConnectCmd
fn default() -> ConnectCmd
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConnectCmd
impl<'de> Deserialize<'de> for ConnectCmd
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
Source§impl FromArgMatches for ConnectCmd
impl FromArgMatches for ConnectCmd
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.Source§impl Hash for ConnectCmd
impl Hash for ConnectCmd
Source§impl Ord for ConnectCmd
impl Ord for ConnectCmd
Source§fn cmp(&self, other: &ConnectCmd) -> Ordering
fn cmp(&self, other: &ConnectCmd) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl Parser for ConnectCmd
impl Parser for ConnectCmd
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Source§impl PartialEq for ConnectCmd
impl PartialEq for ConnectCmd
Source§impl PartialOrd for ConnectCmd
impl PartialOrd for ConnectCmd
Source§impl Serialize for ConnectCmd
impl Serialize for ConnectCmd
impl Eq for ConnectCmd
impl StructuralPartialEq for ConnectCmd
Auto Trait Implementations§
impl Freeze for ConnectCmd
impl RefUnwindSafe for ConnectCmd
impl Send for ConnectCmd
impl Sync for ConnectCmd
impl Unpin for ConnectCmd
impl UnwindSafe for ConnectCmd
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