pub struct HxPushUrl(pub String);Expand description
The HX-Push-Url header.
Pushes a new url into the history stack.
Will fail if the supplied Uri contains characters that are not visible ASCII (32-127).
See https://htmx.org/headers/hx-push-url/ for more information.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl IntoResponseParts for HxPushUrl
impl IntoResponseParts for HxPushUrl
Source§fn into_response_parts(
self,
res: ResponseParts,
) -> Result<ResponseParts, Self::Error>
fn into_response_parts( self, res: ResponseParts, ) -> Result<ResponseParts, Self::Error>
Set parts of the response
Auto Trait Implementations§
impl Freeze for HxPushUrl
impl RefUnwindSafe for HxPushUrl
impl Send for HxPushUrl
impl Sync for HxPushUrl
impl Unpin for HxPushUrl
impl UnwindSafe for HxPushUrl
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