pub struct SetBypassCSPParams {
pub enabled: bool,
}Expand description
Enable page Content Security Policy by-passing.
Fields§
§enabled: boolWhether to bypass page CSP.
Implementations§
Trait Implementations§
Source§impl CdpCommand for SetBypassCSPParams
impl CdpCommand for SetBypassCSPParams
Source§impl Clone for SetBypassCSPParams
impl Clone for SetBypassCSPParams
Source§fn clone(&self) -> SetBypassCSPParams
fn clone(&self) -> SetBypassCSPParams
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 Debug for SetBypassCSPParams
impl Debug for SetBypassCSPParams
Source§impl Default for SetBypassCSPParams
impl Default for SetBypassCSPParams
Source§fn default() -> SetBypassCSPParams
fn default() -> SetBypassCSPParams
Returns the “default value” for a type. Read more
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
Auto Trait Implementations§
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