Struct parquet_format_safe::MilliSeconds
source · pub struct MilliSeconds {}
Expand description
Time units for logical types
Implementations§
source§impl MilliSeconds
impl MilliSeconds
pub fn new() -> MilliSeconds
pub fn read_from_in_protocol<T: TInputProtocol>( i_prot: &mut T ) -> Result<MilliSeconds>
pub async fn stream_from_in_protocol<T: TInputStreamProtocol>( i_prot: &mut T ) -> Result<MilliSeconds>
pub fn write_to_out_protocol<T: TOutputProtocol>( &self, o_prot: &mut T ) -> Result<usize>
pub async fn write_to_out_stream_protocol<T: TOutputStreamProtocol>( &self, o_prot: &mut T ) -> Result<usize>
Trait Implementations§
source§impl AsyncReadThrift for MilliSeconds
impl AsyncReadThrift for MilliSeconds
fn stream_from_in_protocol<'life0, 'async_trait, T>(
i_prot: &'life0 mut T
) -> Pin<Box<dyn Future<Output = Result<MilliSeconds>> + Send + 'async_trait>>where
T: 'async_trait + TInputStreamProtocol,
'life0: 'async_trait,
source§impl Clone for MilliSeconds
impl Clone for MilliSeconds
source§fn clone(&self) -> MilliSeconds
fn clone(&self) -> MilliSeconds
Returns a copy 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 MilliSeconds
impl Debug for MilliSeconds
source§impl Default for MilliSeconds
impl Default for MilliSeconds
source§fn default() -> MilliSeconds
fn default() -> MilliSeconds
Returns the “default value” for a type. Read more
source§impl Hash for MilliSeconds
impl Hash for MilliSeconds
source§impl Ord for MilliSeconds
impl Ord for MilliSeconds
source§fn cmp(&self, other: &MilliSeconds) -> Ordering
fn cmp(&self, other: &MilliSeconds) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for MilliSeconds
impl PartialEq for MilliSeconds
source§fn eq(&self, other: &MilliSeconds) -> bool
fn eq(&self, other: &MilliSeconds) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MilliSeconds
impl PartialOrd for MilliSeconds
source§fn partial_cmp(&self, other: &MilliSeconds) -> Option<Ordering>
fn partial_cmp(&self, other: &MilliSeconds) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl 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 StructuralPartialEq for MilliSeconds
Auto Trait Implementations§
impl Freeze for MilliSeconds
impl RefUnwindSafe for MilliSeconds
impl Send for MilliSeconds
impl Sync for MilliSeconds
impl Unpin for MilliSeconds
impl UnwindSafe for MilliSeconds
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