pub struct SetScriptExecutionDisabled {
pub method: SetScriptExecutionDisabledMethod,
pub params: SetScriptExecutionDisabledParams,
}Expand description
Switches script execution in the page. setScriptExecutionDisabled
Fields§
§method: SetScriptExecutionDisabledMethod§params: SetScriptExecutionDisabledParamsImplementations§
Source§impl SetScriptExecutionDisabled
impl SetScriptExecutionDisabled
pub const IDENTIFIER: &'static str = "Emulation.setScriptExecutionDisabled"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetScriptExecutionDisabled
impl Clone for SetScriptExecutionDisabled
Source§fn clone(&self) -> SetScriptExecutionDisabled
fn clone(&self) -> SetScriptExecutionDisabled
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 SetScriptExecutionDisabled
impl CommandResult for SetScriptExecutionDisabled
type Result = SetScriptExecutionDisabledResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetScriptExecutionDisabled
impl Debug for SetScriptExecutionDisabled
Source§impl<'de> Deserialize<'de> for SetScriptExecutionDisabled
impl<'de> Deserialize<'de> for SetScriptExecutionDisabled
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<SetScriptExecutionDisabled> for BrowserProtocolCommands
impl From<SetScriptExecutionDisabled> for BrowserProtocolCommands
Source§fn from(v: SetScriptExecutionDisabled) -> Self
fn from(v: SetScriptExecutionDisabled) -> Self
Converts to this type from the input type.
Source§impl From<SetScriptExecutionDisabled> for Command
impl From<SetScriptExecutionDisabled> for Command
Source§fn from(v: SetScriptExecutionDisabled) -> Self
fn from(v: SetScriptExecutionDisabled) -> Self
Converts to this type from the input type.
Source§impl From<SetScriptExecutionDisabled> for EmulationCommands
impl From<SetScriptExecutionDisabled> for EmulationCommands
Source§fn from(v: SetScriptExecutionDisabled) -> Self
fn from(v: SetScriptExecutionDisabled) -> Self
Converts to this type from the input type.
Source§impl TryFrom<BrowserProtocolCommands> for SetScriptExecutionDisabled
impl TryFrom<BrowserProtocolCommands> for SetScriptExecutionDisabled
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, <SetScriptExecutionDisabled as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetScriptExecutionDisabled as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetScriptExecutionDisabled
impl TryFrom<Command> for SetScriptExecutionDisabled
Source§impl TryFrom<EmulationCommands> for SetScriptExecutionDisabled
impl TryFrom<EmulationCommands> for SetScriptExecutionDisabled
Source§type Error = EmulationCommands
type Error = EmulationCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: EmulationCommands,
) -> Result<Self, <SetScriptExecutionDisabled as TryFrom<EmulationCommands>>::Error>
fn try_from( e: EmulationCommands, ) -> Result<Self, <SetScriptExecutionDisabled as TryFrom<EmulationCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetScriptExecutionDisabled
Auto Trait Implementations§
impl Freeze for SetScriptExecutionDisabled
impl RefUnwindSafe for SetScriptExecutionDisabled
impl Send for SetScriptExecutionDisabled
impl Sync for SetScriptExecutionDisabled
impl Unpin for SetScriptExecutionDisabled
impl UnsafeUnpin for SetScriptExecutionDisabled
impl UnwindSafe for SetScriptExecutionDisabled
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