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] = _
pub fn write_to_out_protocol<T: TOutputProtocol>( &self, o_prot: &mut T, ) -> Result<usize>
Trait Implementations§
Source§impl Ord for Type
impl Ord for Type
Source§impl PartialOrd for Type
impl PartialOrd for Type
Source§impl ReadThrift for Type
impl ReadThrift for Type
fn read_from_in_protocol<T: TInputProtocol>(i_prot: &mut T) -> Result<Type>
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§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
)