pub enum ContentSecurityPolicyViolationType {
KInlineViolation,
KEvalViolation,
KUrlViolation,
KSriViolation,
KTrustedTypesSinkViolation,
KTrustedTypesPolicyViolation,
KWasmEvalViolation,
Unrecognized(String),
}Variants§
KInlineViolation
kInlineViolation
KEvalViolation
kEvalViolation
KUrlViolation
kURLViolation
KSriViolation
kSRIViolation
KTrustedTypesSinkViolation
kTrustedTypesSinkViolation
KTrustedTypesPolicyViolation
kTrustedTypesPolicyViolation
KWasmEvalViolation
kWasmEvalViolation
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ContentSecurityPolicyViolationType
impl<'de> Deserialize<'de> for ContentSecurityPolicyViolationType
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
impl Eq for ContentSecurityPolicyViolationType
impl StructuralPartialEq for ContentSecurityPolicyViolationType
Auto Trait Implementations§
impl Forget for ContentSecurityPolicyViolationType
impl Freeze for ContentSecurityPolicyViolationType
impl RefUnwindSafe for ContentSecurityPolicyViolationType
impl Send for ContentSecurityPolicyViolationType
impl Sync for ContentSecurityPolicyViolationType
impl Unpin for ContentSecurityPolicyViolationType
impl UnsafeUnpin for ContentSecurityPolicyViolationType
impl UnwindSafe for ContentSecurityPolicyViolationType
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