pub struct HxRedirect(pub String);Expand description
Performs a client-side redirect to a new location via the HX-Redirect
header.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for HxRedirect
impl Clone for HxRedirect
Source§fn clone(&self) -> HxRedirect
fn clone(&self) -> HxRedirect
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HxRedirect
impl Debug for HxRedirect
impl Eq for HxRedirect
Source§impl IntoResponseParts for HxRedirect
impl IntoResponseParts for HxRedirect
Source§impl PartialEq for HxRedirect
impl PartialEq for HxRedirect
impl StructuralPartialEq for HxRedirect
Auto Trait Implementations§
impl Freeze for HxRedirect
impl RefUnwindSafe for HxRedirect
impl Send for HxRedirect
impl Sync for HxRedirect
impl Unpin for HxRedirect
impl UnsafeUnpin for HxRedirect
impl UnwindSafe for HxRedirect
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.