pub struct Html<T>(pub T);Expand description
HTML response wrapper
Tuple Fields§
§0: TTrait Implementations§
Source§impl<T: Into<String>> IntoResponse for Html<T>
impl<T: Into<String>> IntoResponse for Html<T>
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Convert self into a Response
Source§impl<T> ResponseModifier for Html<T>
impl<T> ResponseModifier for Html<T>
Source§fn update_response(op: &mut Operation)
fn update_response(op: &mut Operation)
Update the operation with response information
Auto Trait Implementations§
impl<T> Freeze for Html<T>where
T: Freeze,
impl<T> RefUnwindSafe for Html<T>where
T: RefUnwindSafe,
impl<T> Send for Html<T>where
T: Send,
impl<T> Sync for Html<T>where
T: Sync,
impl<T> Unpin for Html<T>where
T: Unpin,
impl<T> UnwindSafe for Html<T>where
T: UnwindSafe,
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