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>amd64 microarchitecture variant propagated to nfpm’s deb.arch_variant
(v1, v2, v3, v4). Auto-derived from artifact metadata’s
amd64_variant when unset.
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_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be 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