Enum relay_event_schema::protocol::CspDirective
source · pub enum CspDirective {
Show 31 variants
BaseUri,
ChildSrc,
ConnectSrc,
DefaultSrc,
FontSrc,
FormAction,
FrameAncestors,
FrameSrc,
ImgSrc,
ManifestSrc,
MediaSrc,
ObjectSrc,
PluginTypes,
PrefetchSrc,
Referrer,
ScriptSrc,
ScriptSrcAttr,
ScriptSrcElem,
StyleSrc,
StyleSrcElem,
StyleSrcAttr,
UpgradeInsecureRequests,
WorkerSrc,
Sandbox,
NavigateTo,
ReportUri,
ReportTo,
BlockAllMixedContent,
RequireSriFor,
RequireTrustedTypesFor,
TrustedTypes,
}
Variants§
BaseUri
ChildSrc
ConnectSrc
DefaultSrc
FontSrc
FormAction
FrameAncestors
FrameSrc
ImgSrc
ManifestSrc
MediaSrc
ObjectSrc
PluginTypes
PrefetchSrc
Referrer
ScriptSrc
ScriptSrcAttr
ScriptSrcElem
StyleSrc
StyleSrcElem
StyleSrcAttr
UpgradeInsecureRequests
WorkerSrc
Sandbox
ReportUri
ReportTo
BlockAllMixedContent
RequireSriFor
RequireTrustedTypesFor
TrustedTypes
Implementations§
Trait Implementations§
source§impl Clone for CspDirective
impl Clone for CspDirective
source§fn clone(&self) -> CspDirective
fn clone(&self) -> CspDirective
Returns a copy of the value. Read more
1.0.0 · 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 CspDirective
impl Debug for CspDirective
source§impl<'de> Deserialize<'de> for CspDirective
impl<'de> Deserialize<'de> for CspDirective
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
source§impl Display for CspDirective
impl Display for CspDirective
source§impl FromStr for CspDirective
impl FromStr for CspDirective
source§impl PartialEq for CspDirective
impl PartialEq for CspDirective
source§impl Serialize for CspDirective
impl Serialize for CspDirective
impl Copy for CspDirective
impl Eq for CspDirective
impl StructuralPartialEq for CspDirective
Auto Trait Implementations§
impl Freeze for CspDirective
impl RefUnwindSafe for CspDirective
impl Send for CspDirective
impl Sync for CspDirective
impl Unpin for CspDirective
impl UnwindSafe for CspDirective
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)