pub struct SetBreakOnCspViolation {
pub method: SetBreakOnCspViolationMethod,
pub params: SetBreakOnCspViolationParams,
}Expand description
Sets breakpoint on particular CSP violations. setBreakOnCSPViolation
Fields§
§method: SetBreakOnCspViolationMethod§params: SetBreakOnCspViolationParamsImplementations§
Source§impl SetBreakOnCspViolation
impl SetBreakOnCspViolation
pub fn builder() -> SetBreakOnCspViolationBuilder
Source§impl SetBreakOnCspViolation
impl SetBreakOnCspViolation
pub const IDENTIFIER: &'static str = "DOMDebugger.setBreakOnCSPViolation"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetBreakOnCspViolation
impl Clone for SetBreakOnCspViolation
Source§fn clone(&self) -> SetBreakOnCspViolation
fn clone(&self) -> SetBreakOnCspViolation
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 CommandResult for SetBreakOnCspViolation
impl CommandResult for SetBreakOnCspViolation
type Result = SetBreakOnCspViolationResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetBreakOnCspViolation
impl Debug for SetBreakOnCspViolation
Source§impl<'de> Deserialize<'de> for SetBreakOnCspViolation
impl<'de> Deserialize<'de> for SetBreakOnCspViolation
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
Source§impl From<SetBreakOnCspViolation> for BrowserProtocolCommands
impl From<SetBreakOnCspViolation> for BrowserProtocolCommands
Source§fn from(v: SetBreakOnCspViolation) -> Self
fn from(v: SetBreakOnCspViolation) -> Self
Converts to this type from the input type.
Source§impl From<SetBreakOnCspViolation> for Command
impl From<SetBreakOnCspViolation> for Command
Source§fn from(v: SetBreakOnCspViolation) -> Self
fn from(v: SetBreakOnCspViolation) -> Self
Converts to this type from the input type.
Source§impl From<SetBreakOnCspViolation> for DomDebuggerCommands
impl From<SetBreakOnCspViolation> for DomDebuggerCommands
Source§fn from(v: SetBreakOnCspViolation) -> Self
fn from(v: SetBreakOnCspViolation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetBreakOnCspViolation
impl PartialEq for SetBreakOnCspViolation
Source§impl Serialize for SetBreakOnCspViolation
impl Serialize for SetBreakOnCspViolation
Source§impl TryFrom<BrowserProtocolCommands> for SetBreakOnCspViolation
impl TryFrom<BrowserProtocolCommands> for SetBreakOnCspViolation
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetBreakOnCspViolation as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetBreakOnCspViolation as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetBreakOnCspViolation
impl TryFrom<Command> for SetBreakOnCspViolation
Source§impl TryFrom<DomDebuggerCommands> for SetBreakOnCspViolation
impl TryFrom<DomDebuggerCommands> for SetBreakOnCspViolation
Source§type Error = DomDebuggerCommands
type Error = DomDebuggerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DomDebuggerCommands,
) -> Result<Self, <SetBreakOnCspViolation as TryFrom<DomDebuggerCommands>>::Error>
fn try_from( e: DomDebuggerCommands, ) -> Result<Self, <SetBreakOnCspViolation as TryFrom<DomDebuggerCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetBreakOnCspViolation
Auto Trait Implementations§
impl Freeze for SetBreakOnCspViolation
impl RefUnwindSafe for SetBreakOnCspViolation
impl Send for SetBreakOnCspViolation
impl Sync for SetBreakOnCspViolation
impl Unpin for SetBreakOnCspViolation
impl UnsafeUnpin for SetBreakOnCspViolation
impl UnwindSafe for SetBreakOnCspViolation
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