Struct prql_compiler::ir::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<Compute, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Compute, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Compute
impl PartialEq for Compute
source§impl Serialize for Compute
impl Serialize for Compute
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Compute
Auto Trait Implementations§
impl RefUnwindSafe for Compute
impl Send for Compute
impl Sync for Compute
impl Unpin for Compute
impl UnwindSafe for Compute
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