pub struct ArrayOptions {
pub output: Option<String>,
pub kind: Option<ColumnKind>,
}Expand description
Where TimeSeries::array_aggregate and TimeSeries::array_explode
write, and what kind of column they write (pond-ts’s { as, kind }).
ArrayOptions::default() replaces the array column in place and works
the kind out from the values.
let options = ArrayOptions {
output: Some("tag".into()),
kind: Some(ColumnKind::String),
};Fields§
§output: Option<String>A new column of this name, added after the others, with the array
column kept. None, or the array column’s own name, replaces the
array column where it stands.
kind: Option<ColumnKind>The output column’s kind: Number, String or Boolean. None:
the kind of the values written (String when there are none).
Trait Implementations§
Source§impl Clone for ArrayOptions
impl Clone for ArrayOptions
Source§impl Debug for ArrayOptions
impl Debug for ArrayOptions
Source§impl Default for ArrayOptions
impl Default for ArrayOptions
impl Eq for ArrayOptions
Source§impl PartialEq for ArrayOptions
impl PartialEq for ArrayOptions
impl StructuralPartialEq for ArrayOptions
Auto Trait Implementations§
impl Freeze for ArrayOptions
impl RefUnwindSafe for ArrayOptions
impl Send for ArrayOptions
impl Sync for ArrayOptions
impl Unpin for ArrayOptions
impl UnsafeUnpin for ArrayOptions
impl UnwindSafe for ArrayOptions
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more