pub struct HxReswap(pub SwapOption);Expand description
Overrides how the response is swapped in via the HX-Reswap header. See
SwapOption.
Tuple Fields§
§0: SwapOptionTrait Implementations§
impl Copy for HxReswap
impl Eq for HxReswap
Source§impl From<SwapOption> for HxReswap
impl From<SwapOption> for HxReswap
Source§fn from(option: SwapOption) -> Self
fn from(option: SwapOption) -> Self
Converts to this type from the input type.
Source§impl IntoResponseParts for HxReswap
impl IntoResponseParts for HxReswap
impl StructuralPartialEq for HxReswap
Auto Trait Implementations§
impl Freeze for HxReswap
impl RefUnwindSafe for HxReswap
impl Send for HxReswap
impl Sync for HxReswap
impl Unpin for HxReswap
impl UnsafeUnpin for HxReswap
impl UnwindSafe for HxReswap
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.