pub struct SourceBreakpoint {
pub column: Option<i64>,
pub condition: Option<String>,
pub hit_condition: Option<String>,
pub line: i64,
pub log_message: Option<String>,
}
Expand description
Properties of a breakpoint or logpoint passed to the setBreakpoints request.
Fields§
§column: Option<i64>
An optional source column of the breakpoint.
condition: Option<String>
An optional expression for conditional breakpoints.
hit_condition: Option<String>
An optional expression that controls how many hits of the breakpoint are ignored. The backend is expected to interpret the expression as needed.
line: i64
The source line of the breakpoint or logpoint.
log_message: Option<String>
If this attribute exists and is non-empty, the backend must not ‘break’ (stop) but log the message instead. Expressions within {} are interpolated.
Trait Implementations§
Source§impl Clone for SourceBreakpoint
impl Clone for SourceBreakpoint
Source§fn clone(&self) -> SourceBreakpoint
fn clone(&self) -> SourceBreakpoint
Returns a copy 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 SourceBreakpoint
impl Debug for SourceBreakpoint
Source§impl<'de> Deserialize<'de> for SourceBreakpoint
impl<'de> Deserialize<'de> for SourceBreakpoint
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 SourceBreakpoint
impl PartialEq for SourceBreakpoint
Source§impl Serialize for SourceBreakpoint
impl Serialize for SourceBreakpoint
impl StructuralPartialEq for SourceBreakpoint
Auto Trait Implementations§
impl Freeze for SourceBreakpoint
impl RefUnwindSafe for SourceBreakpoint
impl Send for SourceBreakpoint
impl Sync for SourceBreakpoint
impl Unpin for SourceBreakpoint
impl UnwindSafe for SourceBreakpoint
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