Struct assorted_debian_utils::wb::BinNMU
source · pub struct BinNMU<'a> { /* private fields */ }
Expand description
Builder to create a nmu
command
Implementations§
source§impl<'a> BinNMU<'a>
impl<'a> BinNMU<'a>
sourcepub fn new(
source: &'a SourceSpecifier<'a>,
message: &'a str
) -> Result<Self, Error>
pub fn new( source: &'a SourceSpecifier<'a>, message: &'a str ) -> Result<Self, Error>
Create a new nmu
command for the given source
.
sourcepub fn with_nmu_version(&mut self, version: u32) -> &mut Self
pub fn with_nmu_version(&mut self, version: u32) -> &mut Self
Specify the binNMU version. If not set, wb
tries to auto-detect the binNMU version.
sourcepub fn with_extra_depends(&mut self, extra_depends: &'a str) -> &mut Self
pub fn with_extra_depends(&mut self, extra_depends: &'a str) -> &mut Self
Specify extra dependencies.
sourcepub fn with_build_priority(&mut self, priority: i32) -> &mut Self
pub fn with_build_priority(&mut self, priority: i32) -> &mut Self
Specify build priority. If not set, the build priority will not be changed.
sourcepub fn with_dependency_wait(&mut self, dw: &'a str) -> &mut Self
pub fn with_dependency_wait(&mut self, dw: &'a str) -> &mut Self
Specify dependency-wait. If not set, no dependency-wait will be set.
Trait Implementations§
source§impl<'a> PartialEq<BinNMU<'a>> for BinNMU<'a>
impl<'a> PartialEq<BinNMU<'a>> for BinNMU<'a>
source§impl<'a> WBCommandBuilder for BinNMU<'a>
impl<'a> WBCommandBuilder for BinNMU<'a>
impl<'a> Eq for BinNMU<'a>
impl<'a> StructuralEq for BinNMU<'a>
impl<'a> StructuralPartialEq for BinNMU<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for BinNMU<'a>
impl<'a> Send for BinNMU<'a>
impl<'a> Sync for BinNMU<'a>
impl<'a> Unpin for BinNMU<'a>
impl<'a> UnwindSafe for BinNMU<'a>
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.