pub struct Command {
pub kind: CommandKind,
pub distinct: bool,
pub all: bool,
pub columns: Option<Vec<String>>,
pub sources: Vec<PathBuf>,
}Expand description
An aggregate command parsed from :count(...) or :union(...).
Fields§
§kind: CommandKindThe kind of command (count or union).
distinct: boolWhether the DISTINCT modifier is present.
all: boolWhether the ALL modifier is present.
columns: Option<Vec<String>>Optional column list (from columns OF).
sources: Vec<PathBuf>Source template paths.
Trait Implementations§
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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