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<u64>,
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 */
}
§maintainer: Option<String>
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 alignment of pointer.
The type for initializers.
Initializes a with the given initializer.
Read more
Mutably dereferences the given pointer.
Read more
Drops the object pointed to by the given pointer.
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.