pub struct SetBreakOnCSPViolationBuilder { /* private fields */ }Expand description
Builder for SetBreakOnCSPViolation.
Implementations§
Source§impl SetBreakOnCSPViolationBuilder
impl SetBreakOnCSPViolationBuilder
Sourcepub fn violation_types<VALUE: Into<Vec<CspViolationType>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn violation_types<VALUE: Into<Vec<CspViolationType>>>( &mut self, value: VALUE, ) -> &mut Self
CSP Violations to stop upon.
Sourcepub fn build(
&self,
) -> Result<SetBreakOnCSPViolation, SetBreakOnCSPViolationBuilderError>
pub fn build( &self, ) -> Result<SetBreakOnCSPViolation, SetBreakOnCSPViolationBuilderError>
Trait Implementations§
Source§impl Clone for SetBreakOnCSPViolationBuilder
impl Clone for SetBreakOnCSPViolationBuilder
Source§fn clone(&self) -> SetBreakOnCSPViolationBuilder
fn clone(&self) -> SetBreakOnCSPViolationBuilder
Returns a duplicate 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 SetBreakOnCSPViolationBuilder
impl RefUnwindSafe for SetBreakOnCSPViolationBuilder
impl Send for SetBreakOnCSPViolationBuilder
impl Sync for SetBreakOnCSPViolationBuilder
impl Unpin for SetBreakOnCSPViolationBuilder
impl UnsafeUnpin for SetBreakOnCSPViolationBuilder
impl UnwindSafe for SetBreakOnCSPViolationBuilder
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