Enum parquet2::schema::types::TimeUnit [−][src]
pub enum TimeUnit {
MILLIS(MilliSeconds),
MICROS(MicroSeconds),
NANOS(NanoSeconds),
}
Variants
MILLIS(MilliSeconds)
Tuple Fields of MILLIS
0: MilliSeconds
MICROS(MicroSeconds)
Tuple Fields of MICROS
0: MicroSeconds
NANOS(NanoSeconds)
Tuple Fields of NANOS
0: NanoSeconds
Implementations
pub async fn stream_from_in_protocol(
i_prot: &'_ mut (dyn TInputStreamProtocol + '_)
) -> Result<TimeUnit, Error>
pub async fn write_to_out_stream_protocol(
&'_ self,
o_prot: &'_ mut (dyn TOutputStreamProtocol + '_)
) -> Result<usize, Error>
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for TimeUnit
impl UnwindSafe for TimeUnit
Blanket Implementations
Mutably borrows from an owned value. Read more