pub struct Type(pub i32);👎Deprecated since 57.0.0: The
format module is no longer maintained, and will be removed in 59.0.0Expand 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👎Deprecated since 57.0.0: The
format module is no longer maintained, and will be removed in 59.0.0Implementations§
Source§impl Type
impl Type
pub const BOOLEAN: Type
👎Deprecated since 57.0.0: The
format module is no longer maintained, and will be removed in 59.0.0pub const INT32: Type
👎Deprecated since 57.0.0: The
format module is no longer maintained, and will be removed in 59.0.0pub const INT64: Type
👎Deprecated since 57.0.0: The
format module is no longer maintained, and will be removed in 59.0.0pub const INT96: Type
👎Deprecated since 57.0.0: The
format module is no longer maintained, and will be removed in 59.0.0pub const FLOAT: Type
👎Deprecated since 57.0.0: The
format module is no longer maintained, and will be removed in 59.0.0pub const DOUBLE: Type
👎Deprecated since 57.0.0: The
format module is no longer maintained, and will be removed in 59.0.0pub const BYTE_ARRAY: Type
👎Deprecated since 57.0.0: The
format module is no longer maintained, and will be removed in 59.0.0pub const FIXED_LEN_BYTE_ARRAY: Type
👎Deprecated since 57.0.0: The
format module is no longer maintained, and will be removed in 59.0.0pub const ENUM_VALUES: &'static [Self]
👎Deprecated since 57.0.0: The
format module is no longer maintained, and will be removed in 59.0.0Trait 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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more