pub enum TransportSecurityDirective {
MaxAge,
IncludeSubDomains,
Preload,
}Expand description
Strict-Transport-Security directive labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TransportSecurityDirective
impl Clone for TransportSecurityDirective
Source§fn clone(&self) -> TransportSecurityDirective
fn clone(&self) -> TransportSecurityDirective
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransportSecurityDirective
impl Debug for TransportSecurityDirective
Source§impl Display for TransportSecurityDirective
impl Display for TransportSecurityDirective
Source§impl FromStr for TransportSecurityDirective
impl FromStr for TransportSecurityDirective
Source§impl Hash for TransportSecurityDirective
impl Hash for TransportSecurityDirective
Source§impl Ord for TransportSecurityDirective
impl Ord for TransportSecurityDirective
Source§fn cmp(&self, other: &TransportSecurityDirective) -> Ordering
fn cmp(&self, other: &TransportSecurityDirective) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TransportSecurityDirective
impl PartialEq for TransportSecurityDirective
Source§fn eq(&self, other: &TransportSecurityDirective) -> bool
fn eq(&self, other: &TransportSecurityDirective) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TransportSecurityDirective
impl PartialOrd for TransportSecurityDirective
impl Copy for TransportSecurityDirective
impl Eq for TransportSecurityDirective
impl StructuralPartialEq for TransportSecurityDirective
Auto Trait Implementations§
impl Freeze for TransportSecurityDirective
impl RefUnwindSafe for TransportSecurityDirective
impl Send for TransportSecurityDirective
impl Sync for TransportSecurityDirective
impl Unpin for TransportSecurityDirective
impl UnsafeUnpin for TransportSecurityDirective
impl UnwindSafe for TransportSecurityDirective
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