Enum http_types::security::ReferrerOptions [−][src]
pub enum ReferrerOptions { NoReferrer, NoReferrerDowngrade, SameOrigin, Origin, StrictOrigin, CrossOrigin, StrictCrossOrigin, UnsafeUrl, }
Expand description
Set the Referrer-Policy level
Variants
Set to “no-referrer”
Set to “no-referrer-when-downgrade” the default
Set to “same-origin”
Set to “origin”
Set to “strict-origin”
Set to “origin-when-cross-origin”
Set to “strict-origin-when-cross-origin”
Set to “unsafe-url”
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ReferrerOptions
impl Send for ReferrerOptions
impl Sync for ReferrerOptions
impl Unpin for ReferrerOptions
impl UnwindSafe for ReferrerOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self