pub struct Release {Show 16 fields
pub codename: Option<String>,
pub components: Vec<String>,
pub architectures: Vec<String>,
pub description: Option<String>,
pub origin: Option<String>,
pub label: Option<String>,
pub suite: Option<String>,
pub version: Option<String>,
pub date: Option<String>,
pub not_automatic: Option<bool>,
pub but_automatic_upgrades: Option<bool>,
pub acquire_by_hash: Option<bool>,
pub checksums_md5: Option<Vec<Md5Checksum>>,
pub checksums_sha1: Option<Vec<Sha1Checksum>>,
pub checksums_sha256: Option<Vec<Sha256Checksum>>,
pub checksums_sha512: Option<Vec<Sha512Checksum>>,
}Expand description
A Release file
Fields§
§codename: Option<String>The codename of the release
components: Vec<String>Components supported by the release
architectures: Vec<String>Architectures supported by the release
description: Option<String>Description of the release
origin: Option<String>Origin of the release
label: Option<String>Label of the release
suite: Option<String>Suite of the release
version: Option<String>Version of the release
date: Option<String>Date the release was published
not_automatic: Option<bool>Whether the release is not automatic
but_automatic_upgrades: Option<bool>Indicates if packages retrieved from this release should be automatically upgraded
acquire_by_hash: Option<bool>Whether packages files can be acquired by hash
checksums_md5: Option<Vec<Md5Checksum>>MD5 checksums of repository index files
checksums_sha1: Option<Vec<Sha1Checksum>>SHA-1 checksums of repository index files
checksums_sha256: Option<Vec<Sha256Checksum>>SHA-256 checksums of repository index files
checksums_sha512: Option<Vec<Sha512Checksum>>SHA-512 checksums of repository index files
Trait Implementations§
Source§impl<P: Deb822LikeParagraph> FromDeb822Paragraph<P> for Release
impl<P: Deb822LikeParagraph> FromDeb822Paragraph<P> for Release
Source§impl<P: Deb822LikeParagraph> ToDeb822Paragraph<P> for Release
impl<P: Deb822LikeParagraph> ToDeb822Paragraph<P> for Release
Source§fn to_paragraph(&self) -> P
fn to_paragraph(&self) -> P
Convert this object to a paragraph.
Source§fn update_paragraph(&self, para: &mut P)
fn update_paragraph(&self, para: &mut P)
Update the given paragraph with the values from this object.
impl Eq for Release
impl StructuralPartialEq for Release
Auto Trait Implementations§
impl Freeze for Release
impl RefUnwindSafe for Release
impl Send for Release
impl Sync for Release
impl Unpin for Release
impl UnsafeUnpin 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