pub struct Asset {
pub route: String,
pub path: PathBuf,
pub etag: String,
pub content_type: String,
pub compressed_bytes: Option<Vec<u8>>,
}
Expand description
Internal data structure
Fields§
§route: String
§path: PathBuf
§etag: String
§content_type: String
§compressed_bytes: Option<Vec<u8>>
Trait Implementations§
Source§impl Ord for Asset
impl Ord for Asset
Source§impl PartialOrd for Asset
impl PartialOrd for Asset
impl Eq for Asset
Auto Trait Implementations§
impl Freeze for Asset
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