Struct parquet_format_safe::MicroSeconds
source · pub struct MicroSeconds {}
Implementations§
source§impl MicroSeconds
impl MicroSeconds
pub fn new() -> MicroSeconds
pub fn read_from_in_protocol<T: TInputProtocol>( i_prot: &mut T ) -> Result<MicroSeconds>
pub async fn stream_from_in_protocol<T: TInputStreamProtocol>( i_prot: &mut T ) -> Result<MicroSeconds>
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 MicroSeconds
impl AsyncReadThrift for MicroSeconds
fn stream_from_in_protocol<'life0, 'async_trait, T>(
i_prot: &'life0 mut T
) -> Pin<Box<dyn Future<Output = Result<MicroSeconds>> + Send + 'async_trait>>where
T: 'async_trait + TInputStreamProtocol,
'life0: 'async_trait,
source§impl Clone for MicroSeconds
impl Clone for MicroSeconds
source§fn clone(&self) -> MicroSeconds
fn clone(&self) -> MicroSeconds
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 MicroSeconds
impl Debug for MicroSeconds
source§impl Default for MicroSeconds
impl Default for MicroSeconds
source§fn default() -> MicroSeconds
fn default() -> MicroSeconds
Returns the “default value” for a type. Read more
source§impl Hash for MicroSeconds
impl Hash for MicroSeconds
source§impl Ord for MicroSeconds
impl Ord for MicroSeconds
source§fn cmp(&self, other: &MicroSeconds) -> Ordering
fn cmp(&self, other: &MicroSeconds) -> 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 MicroSeconds
impl PartialEq for MicroSeconds
source§fn eq(&self, other: &MicroSeconds) -> bool
fn eq(&self, other: &MicroSeconds) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MicroSeconds
impl PartialOrd for MicroSeconds
source§fn partial_cmp(&self, other: &MicroSeconds) -> Option<Ordering>
fn partial_cmp(&self, other: &MicroSeconds) -> 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 MicroSeconds
impl ReadThrift for MicroSeconds
fn read_from_in_protocol<T: TInputProtocol>( i_prot: &mut T ) -> Result<MicroSeconds>
impl Copy for MicroSeconds
impl Eq for MicroSeconds
impl StructuralPartialEq for MicroSeconds
Auto Trait Implementations§
impl Freeze for MicroSeconds
impl RefUnwindSafe for MicroSeconds
impl Send for MicroSeconds
impl Sync for MicroSeconds
impl Unpin for MicroSeconds
impl UnwindSafe for MicroSeconds
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