pub struct UbuntuRepositoryEntry {
pub package: Option<String>,
pub version: Option<String>,
pub filename: Option<String>,
pub size: Option<usize>,
pub installed_size: Option<usize>,
pub depends: Option<String>,
pub section: Option<String>,
pub source: Option<String>,
pub md5sum: Option<String>,
pub sha1: Option<String>,
pub sha256: Option<String>,
pub sha512: Option<String>,
}Expand description
One package stanza parsed from a Debian Packages file.
Fields§
§package: Option<String>Package: field.
version: Option<String>Version: field.
filename: Option<String>Filename: field, relative to the repository host.
size: Option<usize>Size: field, the compressed .deb size in bytes.
installed_size: Option<usize>Installed-Size: field, the installed size in KiB.
depends: Option<String>Depends: field.
section: Option<String>Section: field.
source: Option<String>Source: field.
md5sum: Option<String>MD5sum: field.
sha1: Option<String>SHA1: field.
sha256: Option<String>SHA256: field.
sha512: Option<String>SHA512: field.
Trait Implementations§
Source§impl Clone for UbuntuRepositoryEntry
impl Clone for UbuntuRepositoryEntry
Source§fn clone(&self) -> UbuntuRepositoryEntry
fn clone(&self) -> UbuntuRepositoryEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UbuntuRepositoryEntry
impl Debug for UbuntuRepositoryEntry
Source§impl Default for UbuntuRepositoryEntry
impl Default for UbuntuRepositoryEntry
Source§fn default() -> UbuntuRepositoryEntry
fn default() -> UbuntuRepositoryEntry
Returns the “default value” for a type. Read more
Source§impl PartialEq for UbuntuRepositoryEntry
impl PartialEq for UbuntuRepositoryEntry
impl Eq for UbuntuRepositoryEntry
impl StructuralPartialEq for UbuntuRepositoryEntry
Auto Trait Implementations§
impl Freeze for UbuntuRepositoryEntry
impl RefUnwindSafe for UbuntuRepositoryEntry
impl Send for UbuntuRepositoryEntry
impl Sync for UbuntuRepositoryEntry
impl Unpin for UbuntuRepositoryEntry
impl UnsafeUnpin for UbuntuRepositoryEntry
impl UnwindSafe for UbuntuRepositoryEntry
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.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.