pub struct SetBreakOnCSPViolationParams { /* private fields */ }Expand description
Sets breakpoint on particular CSP violations.
Implementations§
Source§impl SetBreakOnCSPViolationParams
impl SetBreakOnCSPViolationParams
Sourcepub fn builder(
violation_types: Vec<CSPViolationType>,
) -> SetBreakOnCSPViolationParamsBuilder
pub fn builder( violation_types: Vec<CSPViolationType>, ) -> SetBreakOnCSPViolationParamsBuilder
Creates a builder for this type with the required parameters:
violation_types: CSP Violations to stop upon.
Sourcepub fn violation_types(&self) -> &[CSPViolationType]
pub fn violation_types(&self) -> &[CSPViolationType]
CSP Violations to stop upon.
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for SetBreakOnCSPViolationParams
impl<'a> CdpCommand<'a> for SetBreakOnCSPViolationParams
Source§impl Clone for SetBreakOnCSPViolationParams
impl Clone for SetBreakOnCSPViolationParams
Source§fn clone(&self) -> SetBreakOnCSPViolationParams
fn clone(&self) -> SetBreakOnCSPViolationParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SetBreakOnCSPViolationParams
impl Debug for SetBreakOnCSPViolationParams
Source§impl Default for SetBreakOnCSPViolationParams
impl Default for SetBreakOnCSPViolationParams
Source§fn default() -> SetBreakOnCSPViolationParams
fn default() -> SetBreakOnCSPViolationParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetBreakOnCSPViolationParams
impl<'de> Deserialize<'de> for SetBreakOnCSPViolationParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SetBreakOnCSPViolationParams
impl RefUnwindSafe for SetBreakOnCSPViolationParams
impl Send for SetBreakOnCSPViolationParams
impl Sync for SetBreakOnCSPViolationParams
impl Unpin for SetBreakOnCSPViolationParams
impl UnsafeUnpin for SetBreakOnCSPViolationParams
impl UnwindSafe for SetBreakOnCSPViolationParams
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