pub enum DeployRepoCommand {
Init {
input: JsonInput,
idempotency_key: String,
dir: Option<PathBuf>,
no_clone: bool,
agent_id: Option<String>,
runtime_id: Option<String>,
},
List {
owner_kind: Option<String>,
owner_id: Option<String>,
},
Get {
repository_id: String,
},
}Variants§
Init
Create a Runtime repository from a CreateRuntimeRepositoryRequest JSON document.
Fields
List
Get
Trait Implementations§
Source§impl Debug for DeployRepoCommand
impl Debug for DeployRepoCommand
Source§impl FromArgMatches for DeployRepoCommand
impl FromArgMatches for DeployRepoCommand
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<'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.Source§impl Subcommand for DeployRepoCommand
impl Subcommand for DeployRepoCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for DeployRepoCommand
impl RefUnwindSafe for DeployRepoCommand
impl Send for DeployRepoCommand
impl Sync for DeployRepoCommand
impl Unpin for DeployRepoCommand
impl UnsafeUnpin for DeployRepoCommand
impl UnwindSafe for DeployRepoCommand
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