pub struct Row {
pub entry_ref: u64,
pub frn: u64,
pub size: u64,
pub mtime: i64,
pub flags: u32,
pub name: Vec<u8>,
pub parent_path: Vec<u8>,
}Expand description
One row handed across the FFI: everything the UI list needs.
Fields§
§entry_ref: u64Stable handle: volume index in the high 32 bits, EntryId in the low.
frn: u64NTFS File Reference Number for this entry.
size: u64File size in bytes (0 for directories).
mtime: i64Last-modified time, Windows FILETIME (100 ns ticks since 1601-01-01 UTC).
flags: u32Bitflags: bit0 = directory, bit1 = deleted-since-query (UI marker).
name: Vec<u8>File name, WTF-8 bytes (no path separators).
parent_path: Vec<u8>Parent directory path, WTF-8 bytes.
Auto Trait Implementations§
impl Freeze for Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnsafeUnpin for Row
impl UnwindSafe for Row
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more