Enum noosphere_cli::native::ConfigSetCommand
source · pub enum ConfigSetCommand {
GatewayUrl {
url: Url,
},
Counterpart {
did: String,
},
Difftool {
tool: String,
},
}Variants
GatewayUrl
Fields
url: UrlThe URL for a gateway API host that the owner key of this sphere is authorized to use
Configure the URL of the gateway to use for publishing and sync
Counterpart
Fields
did: StringThe sphere identity (as a DID) of the counterpart
If you are configuring your local sphere, the “counterpart” is the gateway’s sphere DID. If you are configuring a gateway’s sphere, the “counterpart” is the DID of your local sphere.
Difftool
Fields
tool: StringA command that can be used when diffing files
Configure a command to be used when diffing files
Trait Implementations
sourceimpl Debug for ConfigSetCommand
impl Debug for ConfigSetCommand
sourceimpl FromArgMatches for ConfigSetCommand
impl FromArgMatches for ConfigSetCommand
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
sourcefn 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>
sourcefn 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.sourcefn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
Assign values from
ArgMatches to self.sourceimpl Subcommand for ConfigSetCommand
impl Subcommand for ConfigSetCommand
sourcefn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
sourcefn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
sourcefn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations
impl RefUnwindSafe for ConfigSetCommand
impl Send for ConfigSetCommand
impl Sync for ConfigSetCommand
impl Unpin for ConfigSetCommand
impl UnwindSafe for ConfigSetCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more