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: String
The codename of the release
components: Vec<String>
Components supported by the release
architectures: Vec<String>
Architectures supported by the release
description: String
Description of the release
origin: String
Origin of the release
label: String
Label of the release
suite: String
Suite of the release
version: String
Version of the release
date: String
Date the release was published
not_automatic: bool
Whether the release is not automatic
but_automatic_upgrades: bool
Indicates if packages retrieved from this release should be automatically upgraded
acquire_by_hash: bool
Whether 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