pub enum PwaContent {
Text(String),
Bytes(Vec<u8>),
}Expand description
A generated file’s contents — text (UTF-8) or opaque bytes.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PwaContent
impl Clone for PwaContent
Source§impl Debug for PwaContent
impl Debug for PwaContent
impl Eq for PwaContent
Source§impl PartialEq for PwaContent
impl PartialEq for PwaContent
impl StructuralPartialEq for PwaContent
Auto Trait Implementations§
impl Freeze for PwaContent
impl RefUnwindSafe for PwaContent
impl Send for PwaContent
impl Sync for PwaContent
impl Unpin for PwaContent
impl UnsafeUnpin for PwaContent
impl UnwindSafe for PwaContent
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