pub struct CompileScript {
pub method: CompileScriptMethod,
pub params: CompileScriptParams,
}Expand description
Compiles expression. compileScript
Fields§
§method: CompileScriptMethod§params: CompileScriptParamsImplementations§
Source§impl CompileScript
impl CompileScript
pub fn builder() -> CompileScriptBuilder
Source§impl CompileScript
impl CompileScript
pub const IDENTIFIER: &'static str = "Runtime.compileScript"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for CompileScript
impl Clone for CompileScript
Source§fn clone(&self) -> CompileScript
fn clone(&self) -> CompileScript
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 CompileScript
impl CommandResult for CompileScript
type Result = CompileScriptResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for CompileScript
impl Debug for CompileScript
Source§impl<'de> Deserialize<'de> for CompileScript
impl<'de> Deserialize<'de> for CompileScript
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<CompileScript> for Command
impl From<CompileScript> for Command
Source§fn from(v: CompileScript) -> Self
fn from(v: CompileScript) -> Self
Converts to this type from the input type.
Source§impl From<CompileScript> for JsProtocolCommands
impl From<CompileScript> for JsProtocolCommands
Source§fn from(v: CompileScript) -> Self
fn from(v: CompileScript) -> Self
Converts to this type from the input type.
Source§impl From<CompileScript> for RuntimeCommands
impl From<CompileScript> for RuntimeCommands
Source§fn from(v: CompileScript) -> Self
fn from(v: CompileScript) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CompileScript
impl PartialEq for CompileScript
Source§impl Serialize for CompileScript
impl Serialize for CompileScript
Source§impl TryFrom<Command> for CompileScript
impl TryFrom<Command> for CompileScript
Source§impl TryFrom<JsProtocolCommands> for CompileScript
impl TryFrom<JsProtocolCommands> for CompileScript
Source§type Error = JsProtocolCommands
type Error = JsProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: JsProtocolCommands,
) -> Result<Self, <CompileScript as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <CompileScript as TryFrom<JsProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<RuntimeCommands> for CompileScript
impl TryFrom<RuntimeCommands> for CompileScript
Source§type Error = RuntimeCommands
type Error = RuntimeCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: RuntimeCommands,
) -> Result<Self, <CompileScript as TryFrom<RuntimeCommands>>::Error>
fn try_from( e: RuntimeCommands, ) -> Result<Self, <CompileScript as TryFrom<RuntimeCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for CompileScript
Auto Trait Implementations§
impl Freeze for CompileScript
impl RefUnwindSafe for CompileScript
impl Send for CompileScript
impl Sync for CompileScript
impl Unpin for CompileScript
impl UnsafeUnpin for CompileScript
impl UnwindSafe for CompileScript
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