pub struct Type(pub i32);
Expand description
Types supported by Parquet. These types are intended to be used in combination with the encodings to control the on disk storage format. For example INT16 is not included as a type since a good encoding of INT32 would handle this.
Tuple Fields§
§0: i32
Implementations§
source§impl Type
impl Type
pub const BOOLEAN: Type = _
pub const INT32: Type = _
pub const INT64: Type = _
pub const INT96: Type = _
pub const FLOAT: Type = _
pub const DOUBLE: Type = _
pub const BYTE_ARRAY: Type = _
pub const FIXED_LEN_BYTE_ARRAY: Type = _
pub const ENUM_VALUES: &'static [Self] = _
Trait Implementations§
source§impl Ord for Type
impl Ord for Type
source§impl PartialOrd for Type
impl PartialOrd for Type
source§impl TSerializable for Type
impl TSerializable for Type
source§fn write_to_out_protocol<T: TOutputProtocol>(
&self,
o_prot: &mut T,
) -> Result<()>
fn write_to_out_protocol<T: TOutputProtocol>( &self, o_prot: &mut T, ) -> Result<()>
Writes the struct to the output Thrift protocol
source§fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<Type>
fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<Type>
Reads the struct from the input Thrift protocol
impl Copy for Type
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)