pub struct AggregatedValue {
pub value: String,
pub function: Option<BuiltInAggregation>,
}Expand description
Aggregated value for a column.
Stores the string representation of an aggregated result along with the optional aggregation function used.
Fields§
§value: StringThe aggregated value as a string.
function: Option<BuiltInAggregation>The aggregation function used.
Implementations§
Source§impl AggregatedValue
impl AggregatedValue
Sourcepub fn with_function(
value: impl Into<String>,
function: BuiltInAggregation,
) -> Self
pub fn with_function( value: impl Into<String>, function: BuiltInAggregation, ) -> Self
Trait Implementations§
Source§impl Clone for AggregatedValue
impl Clone for AggregatedValue
Source§fn clone(&self) -> AggregatedValue
fn clone(&self) -> AggregatedValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AggregatedValue
impl Debug for AggregatedValue
Source§impl PartialEq for AggregatedValue
impl PartialEq for AggregatedValue
impl StructuralPartialEq for AggregatedValue
Auto Trait Implementations§
impl Freeze for AggregatedValue
impl RefUnwindSafe for AggregatedValue
impl Send for AggregatedValue
impl Sync for AggregatedValue
impl Unpin for AggregatedValue
impl UnsafeUnpin for AggregatedValue
impl UnwindSafe for AggregatedValue
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