pub struct ExistingTunnelArgs {
pub tunnel_name: Option<String>,
pub host_token: Option<String>,
pub tunnel_id: Option<String>,
pub cluster: Option<String>,
}
Fields§
§tunnel_name: Option<String>
Name you’d like to assign preexisting tunnel to use to connect the tunnel
Old option, new code sohuld just use --name
.
host_token: Option<String>
Token to authenticate and use preexisting tunnel
tunnel_id: Option<String>
ID of preexisting tunnel to use to connect the tunnel
cluster: Option<String>
Cluster of preexisting tunnel to use to connect the tunnel
Trait Implementations§
Source§impl Args for ExistingTunnelArgs
impl Args for ExistingTunnelArgs
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 ExistingTunnelArgs
impl Clone for ExistingTunnelArgs
Source§fn clone(&self) -> ExistingTunnelArgs
fn clone(&self) -> ExistingTunnelArgs
Returns a copy 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 Debug for ExistingTunnelArgs
impl Debug for ExistingTunnelArgs
Source§impl Default for ExistingTunnelArgs
impl Default for ExistingTunnelArgs
Source§fn default() -> ExistingTunnelArgs
fn default() -> ExistingTunnelArgs
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for ExistingTunnelArgs
impl FromArgMatches for ExistingTunnelArgs
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 ExistingTunnelArgs
impl RefUnwindSafe for ExistingTunnelArgs
impl Send for ExistingTunnelArgs
impl Sync for ExistingTunnelArgs
impl Unpin for ExistingTunnelArgs
impl UnwindSafe for ExistingTunnelArgs
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