pub struct CountFunc {
pub this: Option<Expression>,
pub star: bool,
pub distinct: bool,
pub filter: Option<Expression>,
pub ignore_nulls: Option<bool>,
pub original_name: Option<String>,
}Expand description
COUNT function with optional star
Fields§
§this: Option<Expression>§star: bool§distinct: bool§filter: Option<Expression>§ignore_nulls: Option<bool>IGNORE NULLS (true) or RESPECT NULLS (false)
original_name: Option<String>Original function name for case preservation (e.g., “count” or “COUNT”)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CountFunc
impl<'de> Deserialize<'de> for CountFunc
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for CountFunc
Auto Trait Implementations§
impl Freeze for CountFunc
impl RefUnwindSafe for CountFunc
impl Send for CountFunc
impl Sync for CountFunc
impl Unpin for CountFunc
impl UnwindSafe for CountFunc
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