Trait AsBytes
parquet::data_type
pub trait AsBytes { fn as_bytes(&self) -> &[u8]; }
Converts an instance of data type to a slice of bytes as u8.
u8
fn as_bytes(&self) -> &[u8]
Returns slice of bytes for this data type.
impl AsBytes for [u8]
impl AsBytes for i8
impl AsBytes for i16
impl AsBytes for i32
impl AsBytes for i64
impl AsBytes for u8
impl AsBytes for u16
impl AsBytes for u32
impl AsBytes for u64
impl AsBytes for f32
impl AsBytes for f64
impl AsBytes for bool
impl AsBytes for Vec<u8>
impl<'a> AsBytes for &'a str
impl AsBytes for str
impl AsBytes for Decimal
impl AsBytes for ByteArray
impl AsBytes for FixedLenByteArray
impl AsBytes for Int96