[−][src]Struct parquet_format::TimeType
Time logical type annotation
Allowed for physical types: INT32 (millis), INT64 (micros, nanos)
Fields
is_adjusted_to_u_t_c: bool
unit: TimeUnit
Implementations
impl TimeType
[src]
pub fn new(is_adjusted_to_u_t_c: bool, unit: TimeUnit) -> TimeType
[src]
pub fn read_from_in_protocol(
i_prot: &mut dyn TInputProtocol
) -> Result<TimeType>
[src]
i_prot: &mut dyn TInputProtocol
) -> Result<TimeType>
pub fn write_to_out_protocol(
&self,
o_prot: &mut dyn TOutputProtocol
) -> Result<()>
[src]
&self,
o_prot: &mut dyn TOutputProtocol
) -> Result<()>
Trait Implementations
impl Clone for TimeType
[src]
impl Debug for TimeType
[src]
impl Eq for TimeType
[src]
impl Hash for TimeType
[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for TimeType
[src]
pub fn cmp(&self, other: &TimeType) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<TimeType> for TimeType
[src]
impl PartialOrd<TimeType> for TimeType
[src]
pub fn partial_cmp(&self, other: &TimeType) -> Option<Ordering>
[src]
pub fn lt(&self, other: &TimeType) -> bool
[src]
pub fn le(&self, other: &TimeType) -> bool
[src]
pub fn gt(&self, other: &TimeType) -> bool
[src]
pub fn ge(&self, other: &TimeType) -> bool
[src]
impl StructuralEq for TimeType
[src]
impl StructuralPartialEq for TimeType
[src]
Auto Trait Implementations
impl RefUnwindSafe for TimeType
[src]
impl Send for TimeType
[src]
impl Sync for TimeType
[src]
impl Unpin for TimeType
[src]
impl UnwindSafe for TimeType
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,