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: StringMD5 checksum of the file.
size: usizeSize of the file in bytes.
section: StringSection the file belongs to.
priority: PriorityPriority of the file.
filename: StringFilename 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