pub enum HstsIr {
Auto,
Off,
MaxAge(u64),
}Expand description
Strict-Transport-Security policy. Auto emits the header only in production.
Variants§
Trait Implementations§
impl Copy for HstsIr
Source§impl<'de> Deserialize<'de> for HstsIr
impl<'de> Deserialize<'de> for HstsIr
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 Eq for HstsIr
impl StructuralPartialEq for HstsIr
Auto Trait Implementations§
impl Freeze for HstsIr
impl RefUnwindSafe for HstsIr
impl Send for HstsIr
impl Sync for HstsIr
impl Unpin for HstsIr
impl UnsafeUnpin for HstsIr
impl UnwindSafe for HstsIr
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