pub struct RpmOpts {
pub no_mirrors: bool,
pub rpm_builder: RPMBuilder,
pub rpm_macro: Vec<String>,
pub rpm_target: Option<String>,
pub mock_config: Option<String>,
pub extra_repos: Vec<String>,
}Fields§
§no_mirrors: boolRPM: Do not mirror repositories.
This flag sets the mirror config opt in your mock config to false, which most mock configs use to enable
usage of the test repo in Fedora.
The test repo is usually an internal Koji artifact repository used in its build tags.
This is useful for quickly building from test repositories
without having to wait for the compose to finish.
This argument is ignored if the build is not RPM Mock.
rpm_builder: RPMBuilderRPM: Builder backend
rpm_macro: Vec<String>RPM: Define a custom macro can be defined multiple times
rpm_target: Option<String>RPM: A target to pass to rpmbuild/mock, useful for cross compilation
mock_config: Option<String>RPM: Mock configuration
extra_repos: Vec<String>RPM: Extra repositories to pass to mock
Trait Implementations§
Source§impl Args for RpmOpts
impl Args for RpmOpts
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 FromArgMatches for RpmOpts
impl FromArgMatches for RpmOpts
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 RpmOpts
impl RefUnwindSafe for RpmOpts
impl Send for RpmOpts
impl Sync for RpmOpts
impl Unpin for RpmOpts
impl UnwindSafe for RpmOpts
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