Struct prql_compiler::ast::rq::Compute
source · pub struct Compute {
pub id: CId,
pub expr: Expr,
pub window: Option<Window>,
pub is_aggregation: bool,
}
Fields§
§id: CId
§expr: Expr
§window: Option<Window>
Parameters for window functions (or expressions).
is_aggregation: bool
Must be set exactly on columns used in Transform::Aggregate.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Compute
impl<'de> Deserialize<'de> for Compute
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