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: String,
pub exception_details: Option<ExceptionDetails>,
}Expand description
Return type for Debugger.setScriptSource.
Fields§
§call_frames: Option<Vec<CallFrame>>New stack trace in case editing has happened while VM was stopped.
stack_changed: Option<bool>Whether current call stack was modified after applying the changes.
async_stack_trace: Option<StackTrace>Async stack trace, if any.
async_stack_trace_id: Option<StackTraceId>Async stack trace, if any.
status: StringWhether the operation was successful or not. Only Ok denotes a
successful live edit while the other enum variants denote why
the live edit failed.
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§fn clone(&self) -> SetScriptSourceReturns
fn clone(&self) -> SetScriptSourceReturns
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 Debug for SetScriptSourceReturns
impl Debug for SetScriptSourceReturns
Source§impl Default for SetScriptSourceReturns
impl Default for SetScriptSourceReturns
Source§fn default() -> SetScriptSourceReturns
fn default() -> SetScriptSourceReturns
Returns the “default value” for a type. Read more
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
Auto Trait Implementations§
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