pub struct RpmBuild {Show 13 fields
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 extra_repos: Vec<String>,
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>§extra_repos: Vec<String>§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
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§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.