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 for InlineCheckType
impl PartialEq 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 ==
.impl Copy for InlineCheckType
impl Eq for InlineCheckType
impl StructuralPartialEq for InlineCheckType
Auto Trait Implementations§
impl Freeze for InlineCheckType
impl RefUnwindSafe for InlineCheckType
impl Send for InlineCheckType
impl Sync for InlineCheckType
impl Unpin for InlineCheckType
impl UnwindSafe for InlineCheckType
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