pub struct SetScriptSourceReturns {
pub call_frames: Option<Vec<CallFrame>>,
pub stack_changed: Option<bool>,
pub async_stack_trace: Option<StackTrace>,
pub async_stack_trace_id: Option<StackTraceId>,
pub status: SetScriptSourceStatus,
pub exception_details: Option<ExceptionDetails>,
}Expand description
What Debugger.setScriptSource answers with.
Fields§
§call_frames: Option<Vec<CallFrame>>New stack trace in case editing has happened while VM was stopped.
Deprecated in the protocol.
stack_changed: Option<bool>Whether current call stack was modified after applying the changes.
Deprecated in the protocol.
async_stack_trace: Option<StackTrace>Async stack trace, if any.
Deprecated in the protocol.
async_stack_trace_id: Option<StackTraceId>Async stack trace, if any.
Deprecated in the protocol.
status: SetScriptSourceStatusWhether the operation was successful or not. Only Ok denotes a
successful live edit while the other enum variants denote why the live
edit failed.
Experimental: may change without notice.
exception_details: Option<ExceptionDetails>Exception details if any. Only present when status is CompileError.
Trait Implementations§
Source§impl Clone for SetScriptSourceReturns
impl Clone for SetScriptSourceReturns
Source§impl Debug for SetScriptSourceReturns
impl Debug for SetScriptSourceReturns
Source§impl<'de> Deserialize<'de> for SetScriptSourceReturns
impl<'de> Deserialize<'de> for SetScriptSourceReturns
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 PartialEq for SetScriptSourceReturns
impl PartialEq for SetScriptSourceReturns
Source§impl Serialize for SetScriptSourceReturns
impl Serialize for SetScriptSourceReturns
impl StructuralPartialEq for SetScriptSourceReturns
Auto Trait Implementations§
impl Forget for SetScriptSourceReturns
impl Freeze for SetScriptSourceReturns
impl RefUnwindSafe for SetScriptSourceReturns
impl Send for SetScriptSourceReturns
impl Sync for SetScriptSourceReturns
impl Unpin for SetScriptSourceReturns
impl UnsafeUnpin for SetScriptSourceReturns
impl UnwindSafe for SetScriptSourceReturns
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