Struct html_node_core::pretty::Pretty
source · pub struct Pretty(pub Node);
Available on crate feature
pretty
only.Expand description
A wrapper around Node
that is always pretty printed.
Tuple Fields§
§0: Node
Trait Implementations§
source§impl<'de> Deserialize<'de> for Pretty
impl<'de> Deserialize<'de> for Pretty
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl IntoResponse for Pretty
Available on crate feature axum
only.
impl IntoResponse for Pretty
Available on crate feature
axum
only.source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
source§impl PartialEq<Pretty> for Pretty
impl PartialEq<Pretty> for Pretty
impl Eq for Pretty
impl StructuralEq for Pretty
impl StructuralPartialEq for Pretty
Auto Trait Implementations§
impl RefUnwindSafe for Pretty
impl Send for Pretty
impl Sync for Pretty
impl Unpin for Pretty
impl UnwindSafe for Pretty
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