Struct memory_serve::Asset
source · pub struct Asset {
pub route: &'static str,
pub etag: &'static str,
pub content_type: &'static str,
pub bytes: &'static [u8],
pub brotli_bytes: &'static [u8],
}Fields§
§route: &'static str§etag: &'static str§content_type: &'static str§bytes: &'static [u8]§brotli_bytes: &'static [u8]Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Asset
impl Send for Asset
impl Sync for Asset
impl Unpin for Asset
impl UnwindSafe for Asset
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