pub struct HxReselect(pub String);Expand description
The HX-Reselect header.
A CSS selector that allows you to choose which part of the response is used to be swapped in. Overrides an existing hx-select on the triggering element.
Will fail if the supplied String contains characters that are not visible ASCII (32-127).
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for HxReselect
impl Clone for HxReselect
Source§fn clone(&self) -> HxReselect
fn clone(&self) -> HxReselect
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 HxReselect
impl Debug for HxReselect
Source§impl IntoResponseParts for HxReselect
impl IntoResponseParts for HxReselect
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 HxReselect
impl RefUnwindSafe for HxReselect
impl Send for HxReselect
impl Sync for HxReselect
impl Unpin for HxReselect
impl UnwindSafe for HxReselect
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