pub enum ViolationResource {
Url(Url),
Inline {
report_sample: bool,
},
}
Expand description
violation information
https://www.w3.org/TR/CSP/#violation
Variants§
Trait Implementations§
source§impl Clone for ViolationResource
impl Clone for ViolationResource
source§fn clone(&self) -> ViolationResource
fn clone(&self) -> ViolationResource
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 moreAuto Trait Implementations§
impl Freeze for ViolationResource
impl RefUnwindSafe for ViolationResource
impl Send for ViolationResource
impl Sync for ViolationResource
impl Unpin for ViolationResource
impl UnwindSafe for ViolationResource
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