pub struct Violation {
pub resource: ViolationResource,
pub directive: Directive,
pub policy: Policy,
}Expand description
violation information
https://www.w3.org/TR/CSP/#violation
Fields§
§resource: ViolationResource§directive: Directive§policy: PolicyTrait 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