#[non_exhaustive]pub enum HtmxMethod {
Get,
Post,
Delete,
Patch,
Put,
}Expand description
The HTTP verbs supported by HTMX.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Debug for HtmxMethod
impl Debug for HtmxMethod
Source§impl Display for HtmxMethod
impl Display for HtmxMethod
Source§impl PartialEq for HtmxMethod
impl PartialEq for HtmxMethod
impl Eq for HtmxMethod
impl StructuralPartialEq for HtmxMethod
Auto Trait Implementations§
impl Freeze for HtmxMethod
impl RefUnwindSafe for HtmxMethod
impl Send for HtmxMethod
impl Sync for HtmxMethod
impl Unpin for HtmxMethod
impl UnwindSafe for HtmxMethod
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