pub struct Ad1Entry {
pub path: String,
pub is_dir: bool,
pub size: u64,
pub item_type: u32,
pub md5: Option<String>,
pub sha1: Option<String>,
pub modified: Option<String>,
pub accessed: Option<String>,
pub changed: Option<String>,
/* private fields */
}Expand description
One node in the AD1 logical file tree.
Fields§
§path: StringLogical path within the image (POSIX-style, /-separated).
is_dir: boolTrue for a directory node (no file data).
size: u64Uncompressed file size in bytes (0 for directories).
item_type: u32Raw item-type code from the header (0 = file, 5 = folder).
md5: Option<String>Stored MD5 (lowercase hex) if the image carries one for this file.
sha1: Option<String>Stored SHA1 (lowercase hex) if present.
modified: Option<String>Stored modified timestamp (YYYYMMDDThhmmss) if present.
accessed: Option<String>Stored accessed timestamp if present.
changed: Option<String>Stored changed/created timestamp if present.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ad1Entry
impl RefUnwindSafe for Ad1Entry
impl Send for Ad1Entry
impl Sync for Ad1Entry
impl Unpin for Ad1Entry
impl UnsafeUnpin for Ad1Entry
impl UnwindSafe for Ad1Entry
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