pub enum InertiaHeader<'a> {
Inertia,
InertiaLocation(&'a str),
InertiaPartialData(Vec<&'a str>),
Version(&'a str),
}
Variants§
Implementations§
Source§impl InertiaHeader<'_>
impl InertiaHeader<'_>
pub fn convert(&self) -> (HeaderName, HeaderValue)
Auto Trait Implementations§
impl<'a> Freeze for InertiaHeader<'a>
impl<'a> RefUnwindSafe for InertiaHeader<'a>
impl<'a> Send for InertiaHeader<'a>
impl<'a> Sync for InertiaHeader<'a>
impl<'a> Unpin for InertiaHeader<'a>
impl<'a> UnwindSafe for InertiaHeader<'a>
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