Struct content_security_policy::Violation
source · pub struct Violation {
pub resource: ViolationResource,
pub directive: Directive,
}
Expand description
violation information
https://www.w3.org/TR/CSP/#violation
Fields§
§resource: ViolationResource
§directive: Directive
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Violation
impl RefUnwindSafe for Violation
impl Send for Violation
impl Sync for Violation
impl Unpin for Violation
impl UnwindSafe for Violation
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