pub struct CreateRustGithubRepo { /* private fields */ }
Implementations§
source§impl CreateRustGithubRepo
impl CreateRustGithubRepo
pub fn name(self, value: impl Into<String>) -> Self
pub fn dir(self, value: impl Into<Option<PathBuf>>) -> Self
pub fn workspace(self, value: impl Into<Option<PathBuf>>) -> Self
pub fn visibility(self, value: impl Into<RepoVisibility>) -> Self
pub fn copy_configs_from(self, value: impl Into<Option<PathBuf>>) -> Self
pub fn git_commit_message(self, value: impl Into<String>) -> Self
pub fn extra_configs(self, value: impl Into<Vec<String>>) -> Self
pub fn gh_repo_create_args(self, value: impl Into<Vec<String>>) -> Self
pub fn gh_repo_clone_args(self, value: impl Into<Vec<String>>) -> Self
pub fn cargo_init_args(self, value: impl Into<Vec<String>>) -> Self
pub fn cargo_build_args(self, value: impl Into<Vec<String>>) -> Self
pub fn git_commit_args(self, value: impl Into<Vec<String>>) -> Self
pub fn git_push_args(self, value: impl Into<Vec<String>>) -> Self
Trait Implementations§
source§impl Args for CreateRustGithubRepo
impl Args for CreateRustGithubRepo
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Debug for CreateRustGithubRepo
impl Debug for CreateRustGithubRepo
source§impl FromArgMatches for CreateRustGithubRepo
impl FromArgMatches for CreateRustGithubRepo
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 Parser for CreateRustGithubRepo
impl Parser for CreateRustGithubRepo
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)
Update from iterator, exit on error.
Auto Trait Implementations§
impl Freeze for CreateRustGithubRepo
impl RefUnwindSafe for CreateRustGithubRepo
impl Send for CreateRustGithubRepo
impl Sync for CreateRustGithubRepo
impl Unpin for CreateRustGithubRepo
impl UnwindSafe for CreateRustGithubRepo
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