pub enum QueryReductionGroupV2 {
Binding {
binding: BindingId,
},
Field {
field: QueryFieldV2,
},
Fields {
fields: Vec<QueryFieldV2>,
},
}Expand description
Optional grouping contract for one model-compatible reduction terminal.
Variants§
Binding
Group by one attached thing identity.
Field
Group by each witnessed value of one owned field.
Fields
§
field: QueryFieldV2Descriptor-qualified grouping field.
Fields
Group by the Cartesian product of multiple owned field values.
Fields
§
fields: Vec<QueryFieldV2>Ordered descriptor-qualified grouping fields.
Implementations§
Source§impl QueryReductionGroupV2
impl QueryReductionGroupV2
Sourcepub const fn field(field: QueryFieldV2) -> Self
pub const fn field(field: QueryFieldV2) -> Self
Construct a single-field grouping contract.
Sourcepub const fn fields(fields: Vec<QueryFieldV2>) -> Self
pub const fn fields(fields: Vec<QueryFieldV2>) -> Self
Construct a tuple-field grouping contract.
Trait Implementations§
Source§impl Clone for QueryReductionGroupV2
impl Clone for QueryReductionGroupV2
Source§impl Debug for QueryReductionGroupV2
impl Debug for QueryReductionGroupV2
Source§impl<'de> Deserialize<'de> for QueryReductionGroupV2
impl<'de> Deserialize<'de> for QueryReductionGroupV2
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 Eq for QueryReductionGroupV2
Source§impl PartialEq for QueryReductionGroupV2
impl PartialEq for QueryReductionGroupV2
Source§impl Serialize for QueryReductionGroupV2
impl Serialize for QueryReductionGroupV2
impl StructuralPartialEq for QueryReductionGroupV2
Auto Trait Implementations§
impl Freeze for QueryReductionGroupV2
impl RefUnwindSafe for QueryReductionGroupV2
impl Send for QueryReductionGroupV2
impl Sync for QueryReductionGroupV2
impl Unpin for QueryReductionGroupV2
impl UnsafeUnpin for QueryReductionGroupV2
impl UnwindSafe for QueryReductionGroupV2
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