pub struct Control {Show 22 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>>,
/* 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>Implementations§
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnsafeUnpin for Control
impl UnwindSafe for Control
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