pub struct FileEntryToWrite {
pub path: String,
pub file_type: u32,
pub permissions: u32,
pub user: Option<String>,
pub group: Option<String>,
pub modified_time: Option<u64>,
pub symlink_target: Option<String>,
pub data: Vec<u8>,
}Expand description
A file or directory entry to be written into the HPKG archive.
Fields§
§path: String§file_type: u32§permissions: u32§user: Option<String>§group: Option<String>§modified_time: Option<u64>§symlink_target: Option<String>§data: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for FileEntryToWrite
impl Clone for FileEntryToWrite
Source§fn clone(&self) -> FileEntryToWrite
fn clone(&self) -> FileEntryToWrite
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 FileEntryToWrite
impl RefUnwindSafe for FileEntryToWrite
impl Send for FileEntryToWrite
impl Sync for FileEntryToWrite
impl Unpin for FileEntryToWrite
impl UnsafeUnpin for FileEntryToWrite
impl UnwindSafe for FileEntryToWrite
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