pub struct TimestampValue { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Clone for TimestampValue
impl Clone for TimestampValue
Source§fn clone(&self) -> TimestampValue
fn clone(&self) -> TimestampValue
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 TimestampValue
impl Debug for TimestampValue
Source§impl SeriesValue for TimestampValue
impl SeriesValue for TimestampValue
type StepType = IntervalMonthDayNano
type ValueType = i64
Source§fn should_stop(
&self,
end: Self,
step: &Self::StepType,
include_end: bool,
) -> bool
fn should_stop( &self, end: Self, step: &Self::StepType, include_end: bool, ) -> bool
Check if we’ve reached the end of the series
Source§fn advance(&mut self, step: &Self::StepType) -> Result<()>
fn advance(&mut self, step: &Self::StepType) -> Result<()>
Advance to the next value in the series
Source§fn create_array(&self, values: Vec<Self::ValueType>) -> Result<ArrayRef>
fn create_array(&self, values: Vec<Self::ValueType>) -> Result<ArrayRef>
Create an Arrow array from a vector of values
Source§fn to_value_type(&self) -> Self::ValueType
fn to_value_type(&self) -> Self::ValueType
Convert self to ValueType for array creation
Source§fn display_value(&self) -> String
fn display_value(&self) -> String
Display the value for debugging
Auto Trait Implementations§
impl Freeze for TimestampValue
impl RefUnwindSafe for TimestampValue
impl Send for TimestampValue
impl Sync for TimestampValue
impl Unpin for TimestampValue
impl UnwindSafe for TimestampValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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