pub struct Release {
pub codename: String,
pub components: Vec<String>,
pub architectures: Vec<String>,
pub description: String,
pub origin: String,
pub label: String,
pub suite: String,
pub version: String,
pub date: String,
pub not_automatic: bool,
pub but_automatic_upgrades: bool,
pub acquire_by_hash: bool,
}Expand description
A Release file
Fields§
§codename: StringThe codename of the release
components: Vec<String>Components supported by the release
architectures: Vec<String>Architectures supported by the release
description: StringDescription of the release
origin: StringOrigin of the release
label: StringLabel of the release
suite: StringSuite of the release
version: StringVersion of the release
date: StringDate the release was published
not_automatic: boolWhether the release is not automatic
but_automatic_upgrades: boolIndicates if packages retrieved from this release should be automatically upgraded
acquire_by_hash: boolWhether packages files can be acquired by hash
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 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