Struct feattle_ui::RenderedPage
source · pub struct RenderedPage {
pub content_type: String,
pub content: Vec<u8>,
}
Expand description
Represent a rendered page
Fields§
§content_type: String
The 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 copy 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 moresource§impl Debug for RenderedPage
impl Debug for RenderedPage
source§impl IntoResponse for RenderedPage
impl IntoResponse for RenderedPage
source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
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