Struct parquet_format_safe::IntType
source · pub struct IntType {
pub bit_width: i8,
pub is_signed: bool,
}
Expand description
Integer logical type annotation
bitWidth must be 8, 16, 32, or 64.
Allowed for physical types: INT32, INT64
Fields§
§bit_width: i8
§is_signed: bool
Implementations§
source§impl IntType
impl IntType
pub fn new(bit_width: i8, is_signed: bool) -> IntType
pub fn read_from_in_protocol<T: TInputProtocol>( i_prot: &mut T ) -> Result<IntType>
pub async fn stream_from_in_protocol<T: TInputStreamProtocol>( i_prot: &mut T ) -> Result<IntType>
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 IntType
impl AsyncReadThrift for IntType
fn stream_from_in_protocol<'life0, 'async_trait, T>(
i_prot: &'life0 mut T
) -> Pin<Box<dyn Future<Output = Result<IntType>> + Send + 'async_trait>>where
T: 'async_trait + TInputStreamProtocol,
'life0: 'async_trait,
source§impl Ord for IntType
impl Ord for IntType
source§impl PartialEq for IntType
impl PartialEq for IntType
source§impl PartialOrd for IntType
impl PartialOrd for IntType
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 IntType
impl ReadThrift for IntType
fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<IntType>
impl Eq for IntType
impl StructuralPartialEq for IntType
Auto Trait Implementations§
impl Freeze for IntType
impl RefUnwindSafe for IntType
impl Send for IntType
impl Sync for IntType
impl Unpin for IntType
impl UnwindSafe for IntType
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