pub struct FunctionCompletionContext {
pub clause: CompletionClause,
pub has_group_by: bool,
pub in_window_context: bool,
pub prefix: Option<String>,
}Expand description
Context for function completion filtering and scoring.
Fields§
§clause: CompletionClauseCurrent SQL clause
has_group_by: boolWhether the query has a GROUP BY clause
in_window_context: boolWhether we’re in an OVER clause (window context)
prefix: Option<String>Optional prefix filter
Trait Implementations§
Source§impl Clone for FunctionCompletionContext
impl Clone for FunctionCompletionContext
Source§fn clone(&self) -> FunctionCompletionContext
fn clone(&self) -> FunctionCompletionContext
Returns a duplicate 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 FunctionCompletionContext
impl Debug for FunctionCompletionContext
Source§impl Default for FunctionCompletionContext
impl Default for FunctionCompletionContext
Source§fn default() -> FunctionCompletionContext
fn default() -> FunctionCompletionContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FunctionCompletionContext
impl RefUnwindSafe for FunctionCompletionContext
impl Send for FunctionCompletionContext
impl Sync for FunctionCompletionContext
impl Unpin for FunctionCompletionContext
impl UnwindSafe for FunctionCompletionContext
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