pub struct SetBreakOnCspViolationBuilder { /* private fields */ }Implementations§
Source§impl SetBreakOnCspViolationBuilder
impl SetBreakOnCspViolationBuilder
pub fn violation_type(self, violation_type: impl Into<CspViolationType>) -> Self
pub fn violation_types<I, S>(self, violation_types: I) -> Self
pub fn build(self) -> Result<SetBreakOnCspViolation, String>
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 moreSource§impl Default for SetBreakOnCspViolationBuilder
impl Default for SetBreakOnCspViolationBuilder
Source§fn default() -> SetBreakOnCspViolationBuilder
fn default() -> SetBreakOnCspViolationBuilder
Returns the “default value” for a type. Read more
Auto 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