pub struct CompressedBlock {
pub number_of_rows: usize,
pub data: Vec<u8>,
}
Expand description
A compressed Avro block.
Fields§
§number_of_rows: usize
The number of rows
data: Vec<u8>
The compressed data
Implementations§
Trait Implementations§
Source§impl Clone for CompressedBlock
impl Clone for CompressedBlock
Source§fn clone(&self) -> CompressedBlock
fn clone(&self) -> CompressedBlock
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CompressedBlock
impl Debug for CompressedBlock
Source§impl Default for CompressedBlock
impl Default for CompressedBlock
Source§fn default() -> CompressedBlock
fn default() -> CompressedBlock
Returns the “default value” for a type. Read more
Source§impl PartialEq for CompressedBlock
impl PartialEq for CompressedBlock
impl Eq for CompressedBlock
impl StructuralPartialEq for CompressedBlock
Auto Trait Implementations§
impl Freeze for CompressedBlock
impl RefUnwindSafe for CompressedBlock
impl Send for CompressedBlock
impl Sync for CompressedBlock
impl Unpin for CompressedBlock
impl UnwindSafe for CompressedBlock
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