pub enum Spec {
V1_2(Log),
V1_3(Log),
}Expand description
Supported versions of HAR.
Note that point releases require adding here (as they must otherwise they
wouldn’t need a new version). Using untagged can avoid that but the errors
on incompatible documents become super hard to debug.
Variants§
V1_2(Log)
Version 1.2 of the HAR specification.
Refer to the official specification for more information.
V1_3(Log)
Version 1.3 of the HAR specification.
Refer to the draft specification for more information.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Spec
impl<'de> Deserialize<'de> for Spec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Spec
Auto Trait Implementations§
impl Freeze for Spec
impl RefUnwindSafe for Spec
impl Send for Spec
impl Sync for Spec
impl Unpin for Spec
impl UnsafeUnpin for Spec
impl UnwindSafe for Spec
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