pub struct RenderedPage {
pub content_type: String,
pub content: Vec<u8>,
}Expand description
Represent a rendered page
Fields§
§content_type: StringThe value for the Content-Type header
content: Vec<u8>The response body, as bytes
Trait Implementations§
Source§impl Clone for RenderedPage
impl Clone for RenderedPage
Source§fn clone(&self) -> RenderedPage
fn clone(&self) -> RenderedPage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RenderedPage
impl RefUnwindSafe for RenderedPage
impl Send for RenderedPage
impl Sync for RenderedPage
impl Unpin for RenderedPage
impl UnwindSafe for RenderedPage
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