Struct avro_schema::file::FileMetadata
source · [−]pub struct FileMetadata {
pub record: Record,
pub compression: Option<Compression>,
pub marker: [u8; 16],
}
Expand description
Avro file’s Metadata
Fields
record: Record
The Record represented in the file’s Schema
compression: Option<Compression>
The files’ compression
marker: [u8; 16]
The files’ marker, present in every block
Trait Implementations
sourceimpl Clone for FileMetadata
impl Clone for FileMetadata
sourcefn clone(&self) -> FileMetadata
fn clone(&self) -> FileMetadata
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FileMetadata
impl Debug for FileMetadata
sourceimpl Hash for FileMetadata
impl Hash for FileMetadata
sourceimpl PartialEq<FileMetadata> for FileMetadata
impl PartialEq<FileMetadata> for FileMetadata
sourcefn eq(&self, other: &FileMetadata) -> bool
fn eq(&self, other: &FileMetadata) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FileMetadata) -> bool
fn ne(&self, other: &FileMetadata) -> bool
This method tests for !=
.
impl StructuralPartialEq for FileMetadata
Auto Trait Implementations
impl RefUnwindSafe for FileMetadata
impl Send for FileMetadata
impl Sync for FileMetadata
impl Unpin for FileMetadata
impl UnwindSafe for FileMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more