pub struct Package {Show 29 fields
pub package: String,
pub source: Option<String>,
pub version: String,
pub section: Option<String>,
pub priority: Option<String>,
pub architecture: String,
pub is_essential: Option<bool>,
pub depends: Option<Vec<String>>,
pub pre_depends: Option<Vec<String>>,
pub recommends: Option<Vec<String>>,
pub suggests: Option<Vec<String>>,
pub replaces: Option<Vec<String>>,
pub enhances: Option<Vec<String>>,
pub breaks: Option<Vec<String>>,
pub conflicts: Option<Vec<String>>,
pub installed_size: Option<i64>,
pub maintainer: Option<String>,
pub description: Option<String>,
pub homepage: Option<String>,
pub built_using: Option<String>,
pub package_type: Option<String>,
pub tags: Option<Vec<String>>,
pub filename: String,
pub size: i64,
pub md5sum: Option<String>,
pub sha1sum: Option<String>,
pub sha256sum: Option<String>,
pub sha512sum: Option<String>,
pub description_md5sum: Option<String>,
/* private fields */
}Fields§
§package: String§source: Option<String>§version: String§section: Option<String>§priority: Option<String>§architecture: String§is_essential: Option<bool>§depends: Option<Vec<String>>§pre_depends: Option<Vec<String>>§recommends: Option<Vec<String>>§suggests: Option<Vec<String>>§replaces: Option<Vec<String>>§enhances: Option<Vec<String>>§breaks: Option<Vec<String>>§conflicts: Option<Vec<String>>§installed_size: Option<i64>§maintainer: Option<String>§description: Option<String>§homepage: Option<String>§built_using: Option<String>§package_type: Option<String>§filename: String§size: i64§md5sum: Option<String>§sha1sum: Option<String>§sha256sum: Option<String>§sha512sum: Option<String>§description_md5sum: Option<String>Implementations§
Auto Trait Implementations§
impl Freeze for Package
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnsafeUnpin for Package
impl UnwindSafe for Package
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more