pub struct DirectoryEntry {
pub filename: Option<String>,
pub uri: Option<FsUri>,
pub metadata: Metadata,
pub embedded_data: Vec<u8>,
}Expand description
Элемент разобранного каталога.
Fields§
§filename: Option<String>Имя файла; None у записи с метаданными самого каталога.
uri: Option<FsUri>URI элемента; None у записи с метаданными самого каталога.
metadata: MetadataМетаданные.
embedded_data: Vec<u8>Содержимое элемента, если оно вложено в каталог; иначе пусто.
Trait Implementations§
Source§impl Clone for DirectoryEntry
impl Clone for DirectoryEntry
Source§fn clone(&self) -> DirectoryEntry
fn clone(&self) -> DirectoryEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DirectoryEntry
impl RefUnwindSafe for DirectoryEntry
impl Send for DirectoryEntry
impl Sync for DirectoryEntry
impl Unpin for DirectoryEntry
impl UnsafeUnpin for DirectoryEntry
impl UnwindSafe for DirectoryEntry
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