pub struct ReleaseEntry {
pub sum: String,
pub size: u64,
pub path: String,
}
Expand description
The hash, size, and path of a file that this release file points to.
Fields§
§sum: String
§size: u64
§path: String
Implementations§
Source§impl ReleaseEntry
impl ReleaseEntry
Sourcepub fn variant(&self) -> Option<EntryVariant>
pub fn variant(&self) -> Option<EntryVariant>
If required, the precise variant of an apt entry can be determined here.
Malformed / unsupported apt entries will return None
.
Trait Implementations§
Source§impl Clone for ReleaseEntry
impl Clone for ReleaseEntry
Source§fn clone(&self) -> ReleaseEntry
fn clone(&self) -> ReleaseEntry
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 ReleaseEntry
impl Debug for ReleaseEntry
Source§impl Default for ReleaseEntry
impl Default for ReleaseEntry
Source§fn default() -> ReleaseEntry
fn default() -> ReleaseEntry
Returns the “default value” for a type. Read more
Source§impl FromStr for ReleaseEntry
impl FromStr for ReleaseEntry
Source§impl Hash for ReleaseEntry
impl Hash for ReleaseEntry
Source§impl PartialEq for ReleaseEntry
impl PartialEq for ReleaseEntry
impl StructuralPartialEq for ReleaseEntry
Auto Trait Implementations§
impl Freeze for ReleaseEntry
impl RefUnwindSafe for ReleaseEntry
impl Send for ReleaseEntry
impl Sync for ReleaseEntry
impl Unpin for ReleaseEntry
impl UnwindSafe for ReleaseEntry
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