pub struct BreakpointLocationsRequestArguments {
pub source: Source,
pub line: i32,
pub column: Option<i32>,
pub end_line: Option<i32>,
pub end_column: Option<i32>,
/* private fields */
}
Fields§
§source: Source
The source location of the breakpoints; either ‘source.path’ or ‘source.reference’ must be specified.
line: i32
Start line of range to search possible breakpoint locations in. If only the line is specified, the request returns all possible locations in that line.
column: Option<i32>
Optional start column of range to search possible breakpoint locations in. If no start column is given, the first column in the start line is assumed.
end_line: Option<i32>
Optional end line of range to search possible breakpoint locations in. If no end line is given, then the end line is assumed to be the start line.
end_column: Option<i32>
Optional end column of range to search possible breakpoint locations in. If no end column is given, then it is assumed to be in the last column of the end line.
Implementations§
Source§impl BreakpointLocationsRequestArguments
impl BreakpointLocationsRequestArguments
Sourcepub fn builder() -> BreakpointLocationsRequestArgumentsBuilder<((), (), (), (), ())>
pub fn builder() -> BreakpointLocationsRequestArgumentsBuilder<((), (), (), (), ())>
Create a builder for building BreakpointLocationsRequestArguments
.
On the builder, call .source(...)
, .line(...)
, .column(...)
(optional), .end_line(...)
(optional), .end_column(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of BreakpointLocationsRequestArguments
.
Trait Implementations§
Source§impl Clone for BreakpointLocationsRequestArguments
impl Clone for BreakpointLocationsRequestArguments
Source§fn clone(&self) -> BreakpointLocationsRequestArguments
fn clone(&self) -> BreakpointLocationsRequestArguments
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<'de> Deserialize<'de> for BreakpointLocationsRequestArguments
impl<'de> Deserialize<'de> for BreakpointLocationsRequestArguments
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>,
Source§impl From<BreakpointLocationsRequestArguments> for ProtocolMessageContent
impl From<BreakpointLocationsRequestArguments> for ProtocolMessageContent
Source§fn from(args: BreakpointLocationsRequestArguments) -> Self
fn from(args: BreakpointLocationsRequestArguments) -> Self
Source§impl From<BreakpointLocationsRequestArguments> for Request
impl From<BreakpointLocationsRequestArguments> for Request
Source§fn from(args: BreakpointLocationsRequestArguments) -> Self
fn from(args: BreakpointLocationsRequestArguments) -> Self
Source§impl PartialEq for BreakpointLocationsRequestArguments
impl PartialEq for BreakpointLocationsRequestArguments
Source§fn eq(&self, other: &BreakpointLocationsRequestArguments) -> bool
fn eq(&self, other: &BreakpointLocationsRequestArguments) -> bool
self
and other
values to be equal, and is used by ==
.impl Eq for BreakpointLocationsRequestArguments
impl StructuralPartialEq for BreakpointLocationsRequestArguments
Auto Trait Implementations§
impl Freeze for BreakpointLocationsRequestArguments
impl RefUnwindSafe for BreakpointLocationsRequestArguments
impl Send for BreakpointLocationsRequestArguments
impl Sync for BreakpointLocationsRequestArguments
impl Unpin for BreakpointLocationsRequestArguments
impl UnwindSafe for BreakpointLocationsRequestArguments
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.