pub struct SetBypassCsp {
pub method: SetBypassCspMethod,
pub params: SetBypassCspParams,
}Expand description
Enable page Content Security Policy by-passing. setBypassCSP
Fields§
§method: SetBypassCspMethod§params: SetBypassCspParamsImplementations§
Source§impl SetBypassCsp
impl SetBypassCsp
pub fn builder() -> SetBypassCspBuilder
Source§impl SetBypassCsp
impl SetBypassCsp
pub const IDENTIFIER: &'static str = "Page.setBypassCSP"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetBypassCsp
impl Clone for SetBypassCsp
Source§fn clone(&self) -> SetBypassCsp
fn clone(&self) -> SetBypassCsp
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 SetBypassCsp
impl CommandResult for SetBypassCsp
type Result = SetBypassCspResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetBypassCsp
impl Debug for SetBypassCsp
Source§impl<'de> Deserialize<'de> for SetBypassCsp
impl<'de> Deserialize<'de> for SetBypassCsp
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<SetBypassCsp> for BrowserProtocolCommands
impl From<SetBypassCsp> for BrowserProtocolCommands
Source§fn from(v: SetBypassCsp) -> Self
fn from(v: SetBypassCsp) -> Self
Converts to this type from the input type.
Source§impl From<SetBypassCsp> for Command
impl From<SetBypassCsp> for Command
Source§fn from(v: SetBypassCsp) -> Self
fn from(v: SetBypassCsp) -> Self
Converts to this type from the input type.
Source§impl From<SetBypassCsp> for PageCommands
impl From<SetBypassCsp> for PageCommands
Source§fn from(v: SetBypassCsp) -> Self
fn from(v: SetBypassCsp) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetBypassCsp
impl PartialEq for SetBypassCsp
Source§impl Serialize for SetBypassCsp
impl Serialize for SetBypassCsp
Source§impl TryFrom<BrowserProtocolCommands> for SetBypassCsp
impl TryFrom<BrowserProtocolCommands> for SetBypassCsp
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, <SetBypassCsp as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetBypassCsp as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetBypassCsp
impl TryFrom<Command> for SetBypassCsp
Source§impl TryFrom<PageCommands> for SetBypassCsp
impl TryFrom<PageCommands> for SetBypassCsp
Source§type Error = PageCommands
type Error = PageCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: PageCommands,
) -> Result<Self, <SetBypassCsp as TryFrom<PageCommands>>::Error>
fn try_from( e: PageCommands, ) -> Result<Self, <SetBypassCsp as TryFrom<PageCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetBypassCsp
Auto Trait Implementations§
impl Freeze for SetBypassCsp
impl RefUnwindSafe for SetBypassCsp
impl Send for SetBypassCsp
impl Sync for SetBypassCsp
impl Unpin for SetBypassCsp
impl UnsafeUnpin for SetBypassCsp
impl UnwindSafe for SetBypassCsp
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