pub enum ReadStatVarFormatClass {
Date,
DateTime,
DateTimeWithMilliseconds,
DateTimeWithMicroseconds,
DateTimeWithNanoseconds,
Time,
TimeWithMicroseconds,
}Expand description
Semantic classification of a SAS format string.
Determines the Arrow data type used for date/time/datetime variables:
| Variant | Arrow Type |
|---|---|
Date | Date32 |
DateTime | Timestamp(Second) |
DateTimeWithMilliseconds | Timestamp(Millisecond) |
DateTimeWithMicroseconds | Timestamp(Microsecond) |
DateTimeWithNanoseconds | Timestamp(Nanosecond) |
Time | Time32(Second) |
TimeWithMicroseconds | Time64(Microsecond) |
Variants§
Date
Date format (e.g. DATE9, MMDDYY10). Maps to Arrow Date32.
DateTime
DateTime format with second precision (e.g. DATETIME22).
DateTimeWithMilliseconds
DateTime format with millisecond precision (e.g. DATETIME22.3).
DateTimeWithMicroseconds
DateTime format with microsecond precision (e.g. DATETIME22.6).
DateTimeWithNanoseconds
DateTime format with nanosecond precision (e.g. DATETIME22.9).
Time
Time format with second precision (e.g. TIME8).
TimeWithMicroseconds
Time format with microsecond precision (e.g. TIME15.6).
Trait Implementations§
Source§impl Clone for ReadStatVarFormatClass
impl Clone for ReadStatVarFormatClass
Source§fn clone(&self) -> ReadStatVarFormatClass
fn clone(&self) -> ReadStatVarFormatClass
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 ReadStatVarFormatClass
impl Debug for ReadStatVarFormatClass
Source§impl PartialEq for ReadStatVarFormatClass
impl PartialEq for ReadStatVarFormatClass
Source§impl Serialize for ReadStatVarFormatClass
impl Serialize for ReadStatVarFormatClass
impl Copy for ReadStatVarFormatClass
impl Eq for ReadStatVarFormatClass
impl StructuralPartialEq for ReadStatVarFormatClass
Auto Trait Implementations§
impl Freeze for ReadStatVarFormatClass
impl RefUnwindSafe for ReadStatVarFormatClass
impl Send for ReadStatVarFormatClass
impl Sync for ReadStatVarFormatClass
impl Unpin for ReadStatVarFormatClass
impl UnwindSafe for ReadStatVarFormatClass
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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