pub struct HostedServerArgs {
pub server: Option<String>,
}Expand description
Hosted server choice shared by grant/promote/import/claim-style commands.
Fields§
§server: Option<String>Hosted Heddle server. Omit when the destination is a URL, or to use the configured default.
Implementations§
Trait Implementations§
Source§impl Args for HostedServerArgs
impl Args for HostedServerArgs
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 HostedServerArgs
impl Clone for HostedServerArgs
Source§impl Debug for HostedServerArgs
impl Debug for HostedServerArgs
Source§impl Default for HostedServerArgs
impl Default for HostedServerArgs
Source§impl FromArgMatches for HostedServerArgs
impl FromArgMatches for HostedServerArgs
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 HostedServerArgs
impl RefUnwindSafe for HostedServerArgs
impl Send for HostedServerArgs
impl Sync for HostedServerArgs
impl Unpin for HostedServerArgs
impl UnsafeUnpin for HostedServerArgs
impl UnwindSafe for HostedServerArgs
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