pub struct HxRefresh(pub bool);Expand description
Triggers a full client-side page refresh via the HX-Refresh header when
true.
Tuple Fields§
§0: boolTrait Implementations§
impl Copy for HxRefresh
impl Eq for HxRefresh
Source§impl IntoResponseParts for HxRefresh
impl IntoResponseParts for HxRefresh
impl StructuralPartialEq for HxRefresh
Auto Trait Implementations§
impl Freeze for HxRefresh
impl RefUnwindSafe for HxRefresh
impl Send for HxRefresh
impl Sync for HxRefresh
impl Unpin for HxRefresh
impl UnsafeUnpin for HxRefresh
impl UnwindSafe for HxRefresh
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.