pub struct HxRetarget(pub String);Expand description
The HX-Retarget header.
A CSS selector that updates the target of the content update to a different element on the page.
Will fail if the supplied String contains characters that are not visible ASCII (32-127).
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for HxRetarget
impl Clone for HxRetarget
Source§fn clone(&self) -> HxRetarget
fn clone(&self) -> HxRetarget
Returns a duplicate of the value. Read more
1.0.0 · 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 HxRetarget
impl Debug for HxRetarget
Source§impl IntoResponseParts for HxRetarget
impl IntoResponseParts for HxRetarget
Source§fn into_response_parts(
self,
res: ResponseParts,
) -> Result<ResponseParts, Self::Error>
fn into_response_parts( self, res: ResponseParts, ) -> Result<ResponseParts, Self::Error>
Set parts of the response
Auto Trait Implementations§
impl Freeze for HxRetarget
impl RefUnwindSafe for HxRetarget
impl Send for HxRetarget
impl Sync for HxRetarget
impl Unpin for HxRetarget
impl UnwindSafe for HxRetarget
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