Struct rpm::RPMPackage[][src]

pub struct RPMPackage {
    pub metadata: RPMPackageMetadata,
    pub content: Vec<u8>,
}
Expand description

A complete rpm file.

Can either be created using the RPMPackageBuilder or used with parse to obtain from a file.

Fields

metadata: RPMPackageMetadata

Header and metadata structures.

Contains the constant lead as well as the metadata store.

content: Vec<u8>

The compressed or uncompressed files.

Implementations

sign all headers (except for the lead) using an external key and store it as the initial header

Verify the signature as present within the RPM package.

Trait Implementations

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

Performs the conversion.

Performs the conversion.

Should always be Self

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.