[−][src]Struct vega_lite_4::JoinAggregateFieldDefBuilder
Builder for JoinAggregateFieldDef
.
Implementations
impl JoinAggregateFieldDefBuilder
[src]
pub fn join_aggregate_field_def_as<VALUE: Into<String>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The output name for the join aggregate operation.
pub fn field<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
[src]
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"
.
pub fn op<VALUE: Into<AggregateOp>>(&mut self, value: VALUE) -> &mut Self
[src]
The aggregation operation to apply (e.g., "sum"
, "average"
or "count"
). See the
list of all supported operations
here.
pub fn build(&self) -> Result<JoinAggregateFieldDef, String>
[src]
Trait Implementations
impl Clone for JoinAggregateFieldDefBuilder
[src]
pub fn clone(&self) -> JoinAggregateFieldDefBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for JoinAggregateFieldDefBuilder
[src]
pub fn default() -> JoinAggregateFieldDefBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for JoinAggregateFieldDefBuilder
[src]
impl Send for JoinAggregateFieldDefBuilder
[src]
impl Sync for JoinAggregateFieldDefBuilder
[src]
impl Unpin for JoinAggregateFieldDefBuilder
[src]
impl UnwindSafe for JoinAggregateFieldDefBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,