Struct anda_config::config::RpmBuild
source · pub struct RpmBuild {
pub spec: PathBuf,
pub sources: Option<PathBuf>,
pub package: Option<String>,
pub pre_script: Option<PathBuf>,
pub post_script: Option<PathBuf>,
pub enable_scm: Option<bool>,
pub scm_opts: Option<BTreeMap<String, String>>,
pub config: Option<BTreeMap<String, String>>,
pub mock_config: Option<String>,
pub plugin_opts: Option<BTreeMap<String, String>>,
pub macros: Option<BTreeMap<String, String>>,
pub opts: Option<BTreeMap<String, String>>,
}Fields§
§spec: PathBuf§sources: Option<PathBuf>§package: Option<String>§pre_script: Option<PathBuf>§post_script: Option<PathBuf>§enable_scm: Option<bool>§scm_opts: Option<BTreeMap<String, String>>§config: Option<BTreeMap<String, String>>§mock_config: Option<String>§plugin_opts: Option<BTreeMap<String, String>>§macros: Option<BTreeMap<String, String>>§opts: Option<BTreeMap<String, String>>Trait Implementations§
source§impl<'de> Deserialize<'de> for RpmBuild
impl<'de> Deserialize<'de> for RpmBuild
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for RpmBuild
impl PartialEq for RpmBuild
impl Eq for RpmBuild
impl StructuralPartialEq for RpmBuild
Auto Trait Implementations§
impl Freeze for RpmBuild
impl RefUnwindSafe for RpmBuild
impl Send for RpmBuild
impl Sync for RpmBuild
impl Unpin for RpmBuild
impl UnwindSafe for RpmBuild
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.