Struct DateTimeSeries

pub struct DateTimeSeries { /* private fields */ }

An iterator over periodic datetimes, created by DateTime::series.

It is exhausted when the next value would exceed the limits of a Span or DateTime value.

This iterator is created by DateTime::series.

Trait Implementations

impl Clone for DateTimeSeries

fn clone(&self) -> Self

impl Debug for DateTimeSeries

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl FusedIterator for DateTimeSeries

impl Iterator for DateTimeSeries

type Item = DateTime;
fn next(&mut self) -> Option<DateTime>

Auto Trait Implementations

impl Freeze for DateTimeSeries

impl RefUnwindSafe for DateTimeSeries

impl Send for DateTimeSeries

impl Sync for DateTimeSeries

impl Unpin for DateTimeSeries

impl UnsafeUnpin for DateTimeSeries

impl UnwindSafe for DateTimeSeries

Blanket Implementations

impl<I> IntoIterator for DateTimeSeries where I: Iterator,

type Item = <I as Iterator>::Item;
type IntoIter = I;
fn into_iter(self) -> I

impl<T> Any for DateTimeSeries where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for DateTimeSeries where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for DateTimeSeries where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for DateTimeSeries where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for DateTimeSeries

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for DateTimeSeries where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for DateTimeSeries where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for DateTimeSeries where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for DateTimeSeries where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>