pub struct Scope {
pub name: String,
pub presentation_hint: Option<String>,
pub variables_reference: i64,
pub expensive: bool,
pub named_variables: Option<i64>,
pub indexed_variables: Option<i64>,
}Expand description
A scope within a stack frame
Fields§
§name: StringScope name (e.g., “Locals”, “Globals”)
presentation_hint: Option<String>Presentation hint (“arguments”, “locals”, “registers”)
variables_reference: i64Reference to the variables in this scope
expensive: boolWhether fetching variables is expensive
named_variables: Option<i64>Number of named child variables; can be used as a hint for the client to optimize pagination
indexed_variables: Option<i64>Number of indexed child variables; can be used as a hint for the client to optimize pagination
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Scope
impl<'de> Deserialize<'de> for Scope
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 Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scope
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