pub struct HxReswap(pub Swap);Expand description
allows you to specify how the response will be swapped. See hx-swap for possible values
Tuple Fields§
§0: SwapTrait Implementations§
Source§impl Header for HxReswap
impl Header for HxReswap
Source§fn encode<E: Extend<HeaderValue>>(&self, values: &mut E)
fn encode<E: Extend<HeaderValue>>(&self, values: &mut E)
NOTE: Panics if the value cannot be converted to a header value.
Source§fn name() -> &'static HeaderName
fn name() -> &'static HeaderName
The name of this header.
impl Copy for HxReswap
impl Eq 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 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