pub struct Release {
pub origin: String,
pub label: String,
pub suite: Suite,
pub codename: Codename,
pub version: Option<String>,
pub date: DateTime<Utc>,
pub valid_until: Option<DateTime<Utc>>,
pub acquire_by_hash: Option<AcquireByHash>,
pub architectures: Vec<Architecture>,
pub components: Vec<Component>,
pub description: String,
pub files: HashMap<String, FileInfo>,
}
Expand description
Representation of a Release
file
Fields§
§origin: String
Origin of the release
label: String
Label of the release
suite: Suite
Suite of the release
codename: Codename
Suite of the release
version: Option<String>
Version of the release
date: DateTime<Utc>
Date of the release
valid_until: Option<DateTime<Utc>>
Validity of the release
acquire_by_hash: Option<AcquireByHash>
Whether files should be acquired by hash
architectures: Vec<Architecture>
Supported architectures of the release
components: Vec<Component>
Components of the release
description: String
Release description
files: HashMap<String, FileInfo>
Referenced Package
files and others from the release
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Release
impl<'de> Deserialize<'de> for Release
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.