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