pub struct SetScriptingEnabled {
pub method: SetScriptingEnabledMethod,
pub params: SetScriptingEnabledParams,
}Fields§
§method: SetScriptingEnabledMethod§params: SetScriptingEnabledParamsImplementations§
Source§impl SetScriptingEnabled
impl SetScriptingEnabled
pub fn builder() -> SetScriptingEnabledBuilder
Source§impl SetScriptingEnabled
impl SetScriptingEnabled
pub const IDENTIFIER: &'static str = "emulation.setScriptingEnabled"
pub const DOMAIN_DIRECTION: &'static str = "remote"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetScriptingEnabled
impl Clone for SetScriptingEnabled
Source§fn clone(&self) -> SetScriptingEnabled
fn clone(&self) -> SetScriptingEnabled
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 SetScriptingEnabled
impl CommandResult for SetScriptingEnabled
type Result = SetScriptingEnabledResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetScriptingEnabled
impl Debug for SetScriptingEnabled
Source§impl<'de> Deserialize<'de> for SetScriptingEnabled
impl<'de> Deserialize<'de> for SetScriptingEnabled
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<SetScriptingEnabled> for Command
impl From<SetScriptingEnabled> for Command
Source§fn from(v: SetScriptingEnabled) -> Self
fn from(v: SetScriptingEnabled) -> Self
Converts to this type from the input type.
Source§impl From<SetScriptingEnabled> for EmulationCommand
impl From<SetScriptingEnabled> for EmulationCommand
Source§fn from(v: SetScriptingEnabled) -> Self
fn from(v: SetScriptingEnabled) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetScriptingEnabled
impl PartialEq for SetScriptingEnabled
Source§impl Serialize for SetScriptingEnabled
impl Serialize for SetScriptingEnabled
Source§impl TryFrom<Command> for SetScriptingEnabled
impl TryFrom<Command> for SetScriptingEnabled
Source§impl TryFrom<EmulationCommand> for SetScriptingEnabled
impl TryFrom<EmulationCommand> for SetScriptingEnabled
Source§type Error = EmulationCommand
type Error = EmulationCommand
The type returned in the event of a conversion error.
Source§fn try_from(
e: EmulationCommand,
) -> Result<Self, <SetScriptingEnabled as TryFrom<EmulationCommand>>::Error>
fn try_from( e: EmulationCommand, ) -> Result<Self, <SetScriptingEnabled as TryFrom<EmulationCommand>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetScriptingEnabled
Auto Trait Implementations§
impl Freeze for SetScriptingEnabled
impl RefUnwindSafe for SetScriptingEnabled
impl Send for SetScriptingEnabled
impl Sync for SetScriptingEnabled
impl Unpin for SetScriptingEnabled
impl UnsafeUnpin for SetScriptingEnabled
impl UnwindSafe for SetScriptingEnabled
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more