Struct deb_control::binary::BinaryDebControlBuilder[][src]

pub struct BinaryDebControlBuilder { /* fields omitted */ }

A builder struct for BinaryDebControl

Implementations

impl BinaryDebControlBuilder[src]

pub fn build(self) -> BinaryDebControl[src]

Finishes the building process returning the BinaryDebControl

impl BinaryDebControlBuilder[src]

pub fn package<S>(self, package: S) -> Self where
    S: Into<String>, 
[src]

The name of the binary package.

impl BinaryDebControlBuilder[src]

pub fn version<S>(self, version: S) -> Self where
    S: Into<String>, 
[src]

The version number of a package. The format is: [epoch:]upstream_version[-debian_revision].

impl BinaryDebControlBuilder[src]

pub fn architecture<S>(self, architecture: S) -> Self where
    S: Into<String>, 
[src]

Depending on context and the control file used, the Architecture field can include the following sets of values:

  • A unique single word identifying a Debian machine architecture
  • any matches all Debian machine architectures and is the most frequently used
  • all which indicates an architecture-independent package
  • source which indicates a source package

impl BinaryDebControlBuilder[src]

pub fn description<S>(self, description: S) -> Self where
    S: Into<String>, 
[src]

Description of the package

impl BinaryDebControlBuilder[src]

pub fn revision<S>(self, revision: S) -> Self where
    S: Into<String>, 
[src]

This part of the version number specifies the version of the Debian package based on the upstream version

impl BinaryDebControlBuilder[src]

pub fn epoch<S>(self, epoch: S) -> Self where
    S: Into<String>, 
[src]

Epochs can help when the upstream version numbering scheme changes, but they must be used with care

impl BinaryDebControlBuilder[src]

pub fn maintainer<S>(self, maintainer: S) -> Self where
    S: Into<String>, 
[src]

The package maintainer’s name and email address. The name must come first, then the email address inside angle brackets <> (in RFC822 format)

impl BinaryDebControlBuilder[src]

pub fn source<S>(self, source: S) -> Self where
    S: Into<String>, 
[src]

This field identifies the source package name

impl BinaryDebControlBuilder[src]

pub fn section<S>(self, section: S) -> Self where
    S: Into<String>, 
[src]

This field specifies an application area into which the package has been classified

impl BinaryDebControlBuilder[src]

pub fn priority<S>(self, priority: S) -> Self where
    S: Into<String>, 
[src]

This field represents how important it is that the user have the package installed

impl BinaryDebControlBuilder[src]

pub fn installed_size<S>(self, installed_size: S) -> Self where
    S: Into<String>, 
[src]

Estimate of the total amount of disk space required to install the named package

impl BinaryDebControlBuilder[src]

pub fn homepage<S>(self, homepage: S) -> Self where
    S: Into<String>, 
[src]

The URL of the web site for this package

impl BinaryDebControlBuilder[src]

pub fn built_using<S>(self, built_using: S) -> Self where
    S: Into<String>, 
[src]

impl BinaryDebControlBuilder[src]

pub fn essential(self, essential: bool) -> Self[src]

This is a boolean field which may occur only in the control file of a binary package or in a per-package fields paragraph of a source package control file.

impl BinaryDebControlBuilder[src]

pub fn add_pre_depends_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

impl BinaryDebControlBuilder[src]

pub fn add_depends_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

impl BinaryDebControlBuilder[src]

pub fn add_recommends_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

impl BinaryDebControlBuilder[src]

pub fn add_suggests_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

impl BinaryDebControlBuilder[src]

pub fn add_breaks_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

impl BinaryDebControlBuilder[src]

pub fn add_conflicts_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

impl BinaryDebControlBuilder[src]

pub fn add_provides_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

impl BinaryDebControlBuilder[src]

pub fn add_replaces_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

impl BinaryDebControlBuilder[src]

pub fn add_enchances_entries<I, S>(self, entries: I) -> Self where
    I: IntoIterator<Item = S>,
    S: Into<String>, 
[src]

Trait Implementations

impl Debug for BinaryDebControlBuilder[src]

impl Default for BinaryDebControlBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.