pub struct File {
pub path: String,
pub metadata: Metadata,
pub file_type: FileType,
pub content: Option<Vec<u8>>,
pub content_type: Option<String>,
pub buffer: Option<Vec<u8>>,
}
Fields§
§path: String
§metadata: Metadata
§file_type: FileType
§content: Option<Vec<u8>>
§content_type: Option<String>
§buffer: Option<Vec<u8>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
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