pub struct PackageFile {
    pub cache: Rc<RefCell<UniquePtr<PkgCacheFile>>>,
    /* private fields */
}

Fields

cache: Rc<RefCell<UniquePtr<PkgCacheFile>>>

Implementations

The path to the PackageFile

The Archive of the PackageFile. ex: unstable

The Origin of the PackageFile. ex: Debian

The Codename of the PackageFile. ex: main, non-free

The Label of the PackageFile. ex: Debian

The Hostname of the PackageFile. ex: deb.debian.org

The Component of the PackageFile. ex: sid

The Architecture of the PackageFile. ex: amd64

The Index Type of the PackageFile. Known values are:

Debian Package Index, Debian Translation Index, Debian dpkg status file,

The Index of the PackageFile

Return true if the PackageFile is trusted.

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.