Struct parquet_format_safe::MilliSeconds
source · [−]pub struct MilliSeconds {}
Expand description
Time units for logical types
Implementations
sourceimpl MilliSeconds
impl MilliSeconds
pub fn new() -> MilliSeconds
pub fn read_from_in_protocol<T: TInputProtocol>(
i_prot: &mut T
) -> Result<MilliSeconds>
pub fn write_to_out_protocol<T: TOutputProtocol>(
&self,
o_prot: &mut T
) -> Result<usize>
Trait Implementations
sourceimpl Clone for MilliSeconds
impl Clone for MilliSeconds
sourcefn clone(&self) -> MilliSeconds
fn clone(&self) -> MilliSeconds
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MilliSeconds
impl Debug for MilliSeconds
sourceimpl Default for MilliSeconds
impl Default for MilliSeconds
sourcefn default() -> MilliSeconds
fn default() -> MilliSeconds
Returns the “default value” for a type. Read more
sourceimpl Hash for MilliSeconds
impl Hash for MilliSeconds
sourceimpl Ord for MilliSeconds
impl Ord for MilliSeconds
sourcefn cmp(&self, other: &MilliSeconds) -> Ordering
fn cmp(&self, other: &MilliSeconds) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<MilliSeconds> for MilliSeconds
impl PartialEq<MilliSeconds> for MilliSeconds
sourceimpl PartialOrd<MilliSeconds> for MilliSeconds
impl PartialOrd<MilliSeconds> for MilliSeconds
sourcefn partial_cmp(&self, other: &MilliSeconds) -> Option<Ordering>
fn partial_cmp(&self, other: &MilliSeconds) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
sourceimpl ReadThrift for MilliSeconds
impl ReadThrift for MilliSeconds
fn read_from_in_protocol<T: TInputProtocol>(
i_prot: &mut T
) -> Result<MilliSeconds>
impl Copy for MilliSeconds
impl Eq for MilliSeconds
impl StructuralEq for MilliSeconds
impl StructuralPartialEq for MilliSeconds
Auto Trait Implementations
impl RefUnwindSafe for MilliSeconds
impl Send for MilliSeconds
impl Sync for MilliSeconds
impl Unpin for MilliSeconds
impl UnwindSafe for MilliSeconds
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more