pub struct HxPushUrl(pub String);Expand description
Pushes a new URL onto the browser history stack via the HX-Push-Url
header.
Construct it from a URL string. Use HxPushUrl::prevent to send
HX-Push-Url: false, which stops htmx from updating history.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
impl Eq for HxPushUrl
Source§impl IntoResponseParts for HxPushUrl
impl IntoResponseParts for HxPushUrl
impl StructuralPartialEq for HxPushUrl
Auto Trait Implementations§
impl Freeze for HxPushUrl
impl RefUnwindSafe for HxPushUrl
impl Send for HxPushUrl
impl Sync for HxPushUrl
impl Unpin for HxPushUrl
impl UnsafeUnpin 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
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.