pub struct NfpmDebConfig {
pub compression: Option<String>,
pub predepends: Option<Vec<String>>,
pub triggers: Option<NfpmDebTriggers>,
pub breaks: Option<Vec<String>>,
pub lintian_overrides: Option<Vec<String>>,
pub signature: Option<NfpmSignatureConfig>,
pub fields: Option<HashMap<String, String>>,
pub scripts: Option<NfpmDebScripts>,
pub arch_variant: Option<String>,
}Fields§
§compression: Option<String>Deb compression algorithm (e.g. “gzip”, “xz”, “zstd”, “none”).
predepends: Option<Vec<String>>Pre-dependency packages (stronger than Depends).
triggers: Option<NfpmDebTriggers>Deb trigger definitions.
breaks: Option<Vec<String>>Packages this package breaks (Breaks relationship).
lintian_overrides: Option<Vec<String>>Lintian overrides to embed in the package.
signature: Option<NfpmSignatureConfig>Deb signing configuration.
fields: Option<HashMap<String, String>>Additional control fields (e.g. Bugs, Built-Using).
scripts: Option<NfpmDebScripts>Deb-specific maintainer scripts (rules, templates, config).
arch_variant: Option<String>Target architecture variant in deb nomenclature (e.g. amd64v3).
Auto-derived from the built binary’s amd64_variant (v1..v4) GOAMD64
microarchitecture metadata when unset, so an amd64 deb is tagged with the
microarch it was compiled for. Maps to nfpm’s deb.arch_variant.
Implementations§
Trait Implementations§
Source§impl Clone for NfpmDebConfig
impl Clone for NfpmDebConfig
Source§fn clone(&self) -> NfpmDebConfig
fn clone(&self) -> NfpmDebConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NfpmDebConfig
impl Debug for NfpmDebConfig
Source§impl Default for NfpmDebConfig
impl Default for NfpmDebConfig
Source§fn default() -> NfpmDebConfig
fn default() -> NfpmDebConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NfpmDebConfigwhere
NfpmDebConfig: Default,
impl<'de> Deserialize<'de> for NfpmDebConfigwhere
NfpmDebConfig: Default,
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 JsonSchema for NfpmDebConfig
impl JsonSchema for NfpmDebConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for NfpmDebConfig
impl RefUnwindSafe for NfpmDebConfig
impl Send for NfpmDebConfig
impl Sync for NfpmDebConfig
impl Unpin for NfpmDebConfig
impl UnsafeUnpin for NfpmDebConfig
impl UnwindSafe for NfpmDebConfig
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