pub struct CompletionsRequestArguments {
pub frame_id: Option<i32>,
pub text: String,
pub column: i32,
pub line: Option<i32>,
/* private fields */
}
Fields§
§frame_id: Option<i32>
Returns completions in the scope of this stack frame. If not specified, the completions are returned for the global scope.
text: String
One or more source lines. Typically this is the text a user has typed into the debug console before he asked for completion.
column: i32
The character position for which to determine the completion proposals.
line: Option<i32>
An optional line for which to determine the completion proposals. If missing the first line of the text is assumed.
Implementations§
Source§impl CompletionsRequestArguments
impl CompletionsRequestArguments
Sourcepub fn builder() -> CompletionsRequestArgumentsBuilder<((), (), (), ())>
pub fn builder() -> CompletionsRequestArgumentsBuilder<((), (), (), ())>
Create a builder for building CompletionsRequestArguments
.
On the builder, call .frame_id(...)
(optional), .text(...)
, .column(...)
, .line(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of CompletionsRequestArguments
.
Trait Implementations§
Source§impl Clone for CompletionsRequestArguments
impl Clone for CompletionsRequestArguments
Source§fn clone(&self) -> CompletionsRequestArguments
fn clone(&self) -> CompletionsRequestArguments
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CompletionsRequestArguments
impl Debug for CompletionsRequestArguments
Source§impl<'de> Deserialize<'de> for CompletionsRequestArguments
impl<'de> Deserialize<'de> for CompletionsRequestArguments
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 From<CompletionsRequestArguments> for ProtocolMessageContent
impl From<CompletionsRequestArguments> for ProtocolMessageContent
Source§fn from(args: CompletionsRequestArguments) -> Self
fn from(args: CompletionsRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<CompletionsRequestArguments> for Request
impl From<CompletionsRequestArguments> for Request
Source§fn from(args: CompletionsRequestArguments) -> Self
fn from(args: CompletionsRequestArguments) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CompletionsRequestArguments
impl PartialEq for CompletionsRequestArguments
Source§fn eq(&self, other: &CompletionsRequestArguments) -> bool
fn eq(&self, other: &CompletionsRequestArguments) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for CompletionsRequestArguments
impl StructuralPartialEq for CompletionsRequestArguments
Auto Trait Implementations§
impl Freeze for CompletionsRequestArguments
impl RefUnwindSafe for CompletionsRequestArguments
impl Send for CompletionsRequestArguments
impl Sync for CompletionsRequestArguments
impl Unpin for CompletionsRequestArguments
impl UnwindSafe for CompletionsRequestArguments
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
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
Compare self to
key
and return true
if they are equal.