pub struct File {
pub md5sum: String,
pub size: usize,
pub section: String,
pub priority: Priority,
pub filename: String,
}
Expand description
A file in a source package.
Fields§
§md5sum: String
MD5 checksum of the file.
size: usize
Size of the file in bytes.
section: String
Section the file belongs to.
priority: Priority
Priority of the file.
filename: String
Filename of the file.
Trait Implementations§
Source§impl Ord for File
impl Ord for File
Source§impl PartialOrd for File
impl PartialOrd for File
impl Eq for File
impl StructuralPartialEq for File
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
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