pub struct PwaFile {
pub path: String,
pub content: PwaContent,
}Expand description
One file in a generated PWA bundle, addressed by its path relative to the served scope.
Fields§
§path: StringPath relative to the served scope, e.g. "index.html" or "manifest.webmanifest".
content: PwaContentThe file’s contents.
Trait Implementations§
impl Eq for PwaFile
impl StructuralPartialEq for PwaFile
Auto Trait Implementations§
impl Freeze for PwaFile
impl RefUnwindSafe for PwaFile
impl Send for PwaFile
impl Sync for PwaFile
impl Unpin for PwaFile
impl UnsafeUnpin for PwaFile
impl UnwindSafe for PwaFile
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