Enum query_projector_traits::aggregates::SimpleAggregationOp [] [src]

pub enum SimpleAggregationOp {
    Avg,
    Count,
    Max,
    Min,
    Sum,
}

Variants

Methods

impl SimpleAggregationOp
[src]

[src]

[src]

With knowledge of the types to which a variable might be bound, return a Result to determine whether this aggregation is suitable. For example, it's valid to take the Avg of {Double, Long}, invalid to take Sum of {Instant}, valid to take (lexicographic) Max of {String}, but invalid to take Max of {Uuid, String}.

The returned type is the type of the result of the aggregation.

Trait Implementations

impl Clone for SimpleAggregationOp
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for SimpleAggregationOp
[src]

impl Debug for SimpleAggregationOp
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for SimpleAggregationOp
[src]

impl PartialEq for SimpleAggregationOp
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.