pub struct ViteFile {
pub bytes: Vec<u8>,
pub last_modified: Option<String>,
pub content_type: String,
pub content_length: u64,
}
Expand description
File retreived from the ViteJS dev server
Fields§
§bytes: Vec<u8>
§last_modified: Option<String>
§content_type: String
§content_length: u64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ViteFile
impl RefUnwindSafe for ViteFile
impl Send for ViteFile
impl Sync for ViteFile
impl Unpin for ViteFile
impl UnwindSafe for ViteFile
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