pub struct SqlComplete {
pub items: Vec<String>,
pub index: usize,
pub seg_start: usize,
pub loading: bool,
/* private fields */
}Expand description
Tab-completion popup over the SQL prompt, backed by lazily-cached Unity Catalog names.
Fields§
§items: Vec<String>Candidates for the segment being completed; empty while loading.
index: usizeThe candidate currently inserted into the prompt.
seg_start: usizeChar offset in the input where the completed segment starts — the popup anchors under it.
loading: boolTrue while names are being fetched from the workspace.
Auto Trait Implementations§
impl Freeze for SqlComplete
impl RefUnwindSafe for SqlComplete
impl Send for SqlComplete
impl Sync for SqlComplete
impl Unpin for SqlComplete
impl UnsafeUnpin for SqlComplete
impl UnwindSafe for SqlComplete
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more