Struct tauri_utils::config::RpmConfig
source · pub struct RpmConfig {
pub depends: Option<Vec<String>>,
pub release: String,
pub epoch: u32,
pub files: HashMap<PathBuf, PathBuf>,
pub desktop_template: Option<PathBuf>,
}Expand description
Configuration for RPM bundles.
Fields§
§depends: Option<Vec<String>>The list of RPM dependencies your application relies on.
release: StringThe RPM release tag.
epoch: u32The RPM epoch.
files: HashMap<PathBuf, PathBuf>The files to include on the package.
desktop_template: Option<PathBuf>Path to a custom desktop file Handlebars template.
Available variables: categories, comment (optional), exec, icon and name.
Trait Implementations§
source§impl<'de> Deserialize<'de> for RpmConfig
impl<'de> Deserialize<'de> for RpmConfig
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 RpmConfig
impl PartialEq for RpmConfig
impl Eq for RpmConfig
impl StructuralPartialEq for RpmConfig
Auto Trait Implementations§
impl RefUnwindSafe for RpmConfig
impl Send for RpmConfig
impl Sync for RpmConfig
impl Unpin for RpmConfig
impl UnwindSafe for RpmConfig
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<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.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.