Struct vega_lite_4::JoinAggregateFieldDef
source · pub struct JoinAggregateFieldDef {
pub join_aggregate_field_def_as: Option<String>,
pub field: Option<String>,
pub op: Option<AggregateOp>,
}
Fields§
§join_aggregate_field_def_as: Option<String>
The output name for the join aggregate operation.
field: Option<String>
The data field for which to compute the aggregate function. This can be omitted for
functions that do not operate over a field such as "count"
.
op: Option<AggregateOp>
The aggregation operation to apply (e.g., "sum"
, "average"
or "count"
). See the
list of all supported operations
here.
Trait Implementations§
source§impl Clone for JoinAggregateFieldDef
impl Clone for JoinAggregateFieldDef
source§fn clone(&self) -> JoinAggregateFieldDef
fn clone(&self) -> JoinAggregateFieldDef
Returns a copy 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 JoinAggregateFieldDef
impl Debug for JoinAggregateFieldDef
source§impl Default for JoinAggregateFieldDef
impl Default for JoinAggregateFieldDef
source§fn default() -> JoinAggregateFieldDef
fn default() -> JoinAggregateFieldDef
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for JoinAggregateFieldDef
impl<'de> Deserialize<'de> for JoinAggregateFieldDef
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
Auto Trait Implementations§
impl RefUnwindSafe for JoinAggregateFieldDef
impl Send for JoinAggregateFieldDef
impl Sync for JoinAggregateFieldDef
impl Unpin for JoinAggregateFieldDef
impl UnwindSafe for JoinAggregateFieldDef
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