pub struct CompressedFileVariant<'a> {
pub file_path: PathBuf,
pub metadata: Metadata,
pub extension: &'a str,
}
Available on crate feature
compression
only.Expand description
It defines the pre-compressed file variant metadata of a particular file path.
Fields§
§file_path: PathBuf
Current file path.
metadata: Metadata
The metadata of the current file.
extension: &'a str
The file extension.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CompressedFileVariant<'a>
impl<'a> Send for CompressedFileVariant<'a>
impl<'a> Sync for CompressedFileVariant<'a>
impl<'a> Unpin for CompressedFileVariant<'a>
impl<'a> UnwindSafe for CompressedFileVariant<'a>
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