pub enum Spa {
Auto,
History,
Hash,
Off,
}Expand description
How the tracker follows page changes in a single-page app (the data-spa
attribute).
Variants§
Auto
The tracker default. Prints no attribute.
History
Follow the History API (pushState).
Hash
Follow changes to the #hash part of the address.
Off
Do not follow page changes.
Implementations§
Trait Implementations§
impl Copy for Spa
impl Eq for Spa
impl StructuralPartialEq for Spa
Auto Trait Implementations§
impl Freeze for Spa
impl RefUnwindSafe for Spa
impl Send for Spa
impl Sync for Spa
impl Unpin for Spa
impl UnsafeUnpin for Spa
impl UnwindSafe for Spa
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