pub struct Release {Show 20 fields
pub architectures: Vec<String>,
pub no_support_for_architecture_all: Option<bool>,
pub description: Option<String>,
pub origin: Option<String>,
pub label: Option<String>,
pub suite: Option<String>,
pub version: Option<String>,
pub codename: Option<String>,
pub date: Option<String>,
pub valid_until: Option<String>,
pub components: Vec<String>,
pub md5sum: Option<Vec<ReleaseHash>>,
pub sha1sum: Option<Vec<ReleaseHash>>,
pub sha256sum: Option<Vec<ReleaseHash>>,
pub sha512sum: Option<Vec<ReleaseHash>>,
pub not_automatic: Option<bool>,
pub but_automatic_upgrades: Option<bool>,
pub acquire_by_hash: Option<bool>,
pub signed_by: Option<String>,
pub packages_require_authorization: Option<bool>,
/* private fields */
}Fields§
§architectures: Vec<String>§no_support_for_architecture_all: Option<bool>§description: Option<String>§origin: Option<String>§label: Option<String>§suite: Option<String>§version: Option<String>§codename: Option<String>§date: Option<String>§valid_until: Option<String>§components: Vec<String>§md5sum: Option<Vec<ReleaseHash>>§sha1sum: Option<Vec<ReleaseHash>>§sha256sum: Option<Vec<ReleaseHash>>§sha512sum: Option<Vec<ReleaseHash>>§not_automatic: Option<bool>§but_automatic_upgrades: Option<bool>§acquire_by_hash: Option<bool>§signed_by: Option<String>Implementations§
Auto Trait Implementations§
impl Freeze for Release
impl RefUnwindSafe for Release
impl Send for Release
impl Sync for Release
impl Unpin for Release
impl UnwindSafe for Release
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