#[repr(C)]
pub struct PackageSort { pub names: bool, pub upgradable: Sort, pub virtual_pkgs: Sort, pub installed: Sort, pub auto_installed: Sort, pub auto_removable: Sort, }
Expand description

Struct for sorting packages.

Fields

names: boolupgradable: Sortvirtual_pkgs: Sortinstalled: Sortauto_installed: Sortauto_removable: Sort

Implementations

Packages will be sorted by their names a -> z.

Only packages that are upgradable will be included.

Only packages that are NOT upgradable will be included.

Virtual packages will be included.

Only Virtual packages will be included.

Only packages that are installed will be included.

Only packages that are NOT installed will be included.

Only packages that are auto installed will be included.

Only packages that are manually installed will be included.

Only packages that are auto removable will be included.

Only packages that are NOT auto removable will be included.

Trait Implementations

Formats the value using the given formatter. Read more

type Id

A type-level representation of the type’s C++ namespace and type name. 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.

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.