pub struct CompletionCommand {
pub buffer: PointerOrName,
pub position: Option<u16>,
pub data: Option<String>,
}
Expand description
The completion command, used to request possible string completions.
Response: Hdata
Fields§
§buffer: PointerOrName
Pointer or name of the buffer to get completion from.
position: Option<u16>
Position in the string for completion if Some
, else complete at the end if None
.
data: Option<String>
String to complete. None
is the same as the empty string.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompletionCommand
impl RefUnwindSafe for CompletionCommand
impl Send for CompletionCommand
impl Sync for CompletionCommand
impl Unpin for CompletionCommand
impl UnwindSafe for CompletionCommand
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