pub struct StaticFile {
pub relative_path: String,
pub absolute_path: PathBuf,
pub size: u64,
pub content_type: &'static str,
}Fields§
§relative_path: String§absolute_path: PathBuf§size: u64§content_type: &'static strAuto Trait Implementations§
impl Freeze for StaticFile
impl RefUnwindSafe for StaticFile
impl Send for StaticFile
impl Sync for StaticFile
impl Unpin for StaticFile
impl UnsafeUnpin for StaticFile
impl UnwindSafe for StaticFile
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