pub struct SetBypassCspParams {
pub enabled: bool,
}Expand description
Enable page Content Security Policy by-passing.
Parameters of Page.setBypassCSP.
Fields§
§enabled: boolWhether to bypass page CSP.
Trait Implementations§
Source§impl Clone for SetBypassCspParams
impl Clone for SetBypassCspParams
Source§impl Command for SetBypassCspParams
impl Command for SetBypassCspParams
Source§impl Debug for SetBypassCspParams
impl Debug for SetBypassCspParams
Source§impl Default for SetBypassCspParams
impl Default for SetBypassCspParams
Source§impl<'de> Deserialize<'de> for SetBypassCspParams
impl<'de> Deserialize<'de> for SetBypassCspParams
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 PartialEq for SetBypassCspParams
impl PartialEq for SetBypassCspParams
Source§impl Serialize for SetBypassCspParams
impl Serialize for SetBypassCspParams
impl StructuralPartialEq for SetBypassCspParams
Auto Trait Implementations§
impl Forget for SetBypassCspParams
impl Freeze for SetBypassCspParams
impl RefUnwindSafe for SetBypassCspParams
impl Send for SetBypassCspParams
impl Sync for SetBypassCspParams
impl Unpin for SetBypassCspParams
impl UnsafeUnpin for SetBypassCspParams
impl UnwindSafe for SetBypassCspParams
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