pub struct DecryptedFile {
pub path: Vec<u8>,
pub content: Vec<u8>,
}
Expand description
Struct representing decrypted file.
§Fields
path
- Represents path to the decrypted file. For example, graphics files are stored in Graphics/DIR, e.g. Graphics/Actors/Actor1.png.
Note, that path
is represented by Vec<u8>
because it may contain non-UTF-8 sequences, e.g. Japanese Shift JIS text. In that case, it’s up to you how to handle the path.
data
- Represents data of the file.
Fields§
§path: Vec<u8>
§content: Vec<u8>
Auto Trait Implementations§
impl Freeze for DecryptedFile
impl RefUnwindSafe for DecryptedFile
impl Send for DecryptedFile
impl Sync for DecryptedFile
impl Unpin for DecryptedFile
impl UnwindSafe for DecryptedFile
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