1 #![allow(unused_imports)]
2 use wasm_bindgen::prelude::*;
3 #[wasm_bindgen]
4 #[doc = "The `ReferrerPolicy` enum."]
5 #[doc = ""]
6 #[doc = "*This API requires the following crate features to be activated: `ReferrerPolicy`*"]
7 #[derive(Debug, Clone, Copy, PartialEq, Eq)]
8 pub enum ReferrerPolicy {
9     None = "",
10     NoReferrer = "no-referrer",
11     NoReferrerWhenDowngrade = "no-referrer-when-downgrade",
12     Origin = "origin",
13     OriginWhenCrossOrigin = "origin-when-cross-origin",
14     UnsafeUrl = "unsafe-url",
15     SameOrigin = "same-origin",
16     StrictOrigin = "strict-origin",
17     StrictOriginWhenCrossOrigin = "strict-origin-when-cross-origin",
18 }
19