#[non_exhaustive]pub struct HtmlPage {
pub body: Vec<u8>,
}
Expand description
The data of a HTML page.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.body: Vec<u8>
The body of the HTML page.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HtmlPage
impl RefUnwindSafe for HtmlPage
impl Send for HtmlPage
impl Sync for HtmlPage
impl Unpin for HtmlPage
impl UnwindSafe for HtmlPage
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