pub struct GetScriptSource {
pub method: GetScriptSourceMethod,
pub params: GetScriptSourceParams,
}Expand description
Returns source for the script with given id. getScriptSource
Fields§
§method: GetScriptSourceMethod§params: GetScriptSourceParamsImplementations§
Source§impl GetScriptSource
impl GetScriptSource
pub fn builder() -> GetScriptSourceBuilder
Source§impl GetScriptSource
impl GetScriptSource
pub const IDENTIFIER: &'static str = "Debugger.getScriptSource"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetScriptSource
impl Clone for GetScriptSource
Source§fn clone(&self) -> GetScriptSource
fn clone(&self) -> GetScriptSource
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 GetScriptSource
impl CommandResult for GetScriptSource
type Result = GetScriptSourceResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetScriptSource
impl Debug for GetScriptSource
Source§impl<'de> Deserialize<'de> for GetScriptSource
impl<'de> Deserialize<'de> for GetScriptSource
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<GetScriptSource> for Command
impl From<GetScriptSource> for Command
Source§fn from(v: GetScriptSource) -> Self
fn from(v: GetScriptSource) -> Self
Converts to this type from the input type.
Source§impl From<GetScriptSource> for DebuggerCommands
impl From<GetScriptSource> for DebuggerCommands
Source§fn from(v: GetScriptSource) -> Self
fn from(v: GetScriptSource) -> Self
Converts to this type from the input type.
Source§impl From<GetScriptSource> for JsProtocolCommands
impl From<GetScriptSource> for JsProtocolCommands
Source§fn from(v: GetScriptSource) -> Self
fn from(v: GetScriptSource) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetScriptSource
impl PartialEq for GetScriptSource
Source§impl Serialize for GetScriptSource
impl Serialize for GetScriptSource
Source§impl TryFrom<Command> for GetScriptSource
impl TryFrom<Command> for GetScriptSource
Source§impl TryFrom<DebuggerCommands> for GetScriptSource
impl TryFrom<DebuggerCommands> for GetScriptSource
Source§type Error = DebuggerCommands
type Error = DebuggerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DebuggerCommands,
) -> Result<Self, <GetScriptSource as TryFrom<DebuggerCommands>>::Error>
fn try_from( e: DebuggerCommands, ) -> Result<Self, <GetScriptSource as TryFrom<DebuggerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<JsProtocolCommands> for GetScriptSource
impl TryFrom<JsProtocolCommands> for GetScriptSource
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, <GetScriptSource as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <GetScriptSource as TryFrom<JsProtocolCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetScriptSource
Auto Trait Implementations§
impl Freeze for GetScriptSource
impl RefUnwindSafe for GetScriptSource
impl Send for GetScriptSource
impl Sync for GetScriptSource
impl Unpin for GetScriptSource
impl UnsafeUnpin for GetScriptSource
impl UnwindSafe for GetScriptSource
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