Struct gitql_parser::context::ParserContext
source · pub struct ParserContext {
pub aggregations: HashMap<String, AggregateValue>,
pub selected_fields: Vec<String>,
pub hidden_selections: Vec<String>,
pub generated_field_count: i32,
pub is_single_value_query: bool,
pub has_group_by_statement: bool,
}
Fields§
§aggregations: HashMap<String, AggregateValue>
§selected_fields: Vec<String>
§generated_field_count: i32
§is_single_value_query: bool
§has_group_by_statement: bool
Implementations§
source§impl ParserContext
impl ParserContext
pub fn generate_column_name(&mut self) -> String
Trait Implementations§
source§impl Default for ParserContext
impl Default for ParserContext
source§fn default() -> ParserContext
fn default() -> ParserContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParserContext
impl !RefUnwindSafe for ParserContext
impl !Send for ParserContext
impl !Sync for ParserContext
impl Unpin for ParserContext
impl !UnwindSafe for ParserContext
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