pub enum CspViolationType {
TrustedtypeSinkViolation,
TrustedtypePolicyViolation,
}
Expand description
CSP Violation type.
Variants§
Trait Implementations§
source§impl AsRef<str> for CspViolationType
impl AsRef<str> for CspViolationType
source§impl Clone for CspViolationType
impl Clone for CspViolationType
source§fn clone(&self) -> CspViolationType
fn clone(&self) -> CspViolationType
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 CspViolationType
impl Debug for CspViolationType
source§impl<'de> Deserialize<'de> for CspViolationType
impl<'de> Deserialize<'de> for CspViolationType
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<CspViolationType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CspViolationType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromStr for CspViolationType
impl FromStr for CspViolationType
source§impl Hash for CspViolationType
impl Hash for CspViolationType
source§impl PartialEq for CspViolationType
impl PartialEq for CspViolationType
source§fn eq(&self, other: &CspViolationType) -> bool
fn eq(&self, other: &CspViolationType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CspViolationType
impl Serialize for CspViolationType
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for CspViolationType
impl StructuralPartialEq for CspViolationType
Auto Trait Implementations§
impl Freeze for CspViolationType
impl RefUnwindSafe for CspViolationType
impl Send for CspViolationType
impl Sync for CspViolationType
impl Unpin for CspViolationType
impl UnwindSafe for CspViolationType
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