pub enum InlineCheckType {
Script,
ScriptAttribute,
Style,
StyleAttribute,
Navigation,
}Expand description
The valid values for type are “script”, “script attribute”, “style”, and “style attribute”.
https://www.w3.org/TR/CSP/#should-block-inline
Variants§
Trait Implementations§
source§impl Clone for InlineCheckType
impl Clone for InlineCheckType
source§fn clone(&self) -> InlineCheckType
fn clone(&self) -> InlineCheckType
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 InlineCheckType
impl Debug for InlineCheckType
source§impl PartialEq<InlineCheckType> for InlineCheckType
impl PartialEq<InlineCheckType> for InlineCheckType
source§fn eq(&self, other: &InlineCheckType) -> bool
fn eq(&self, other: &InlineCheckType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.