pub struct FieldRecord {
pub rec_id: u32,
pub fld_no: u32,
pub tag: i16,
pub ind1: u8,
pub ind2: u8,
pub sf_code: u8,
pub contents: String,
}
Expand description
Flat MARC field record.
Fields§
§rec_id: u32
§fld_no: u32
§tag: i16
§ind1: u8
§ind2: u8
§sf_code: u8
§contents: String
Trait Implementations§
Source§impl Debug for FieldRecord
impl Debug for FieldRecord
Source§impl Default for FieldRecord
impl Default for FieldRecord
Source§fn default() -> FieldRecord
fn default() -> FieldRecord
Returns the “default value” for a type. Read more
Source§impl RecordReader<FieldRecord> for Vec<FieldRecord>
impl RecordReader<FieldRecord> for Vec<FieldRecord>
Source§fn read_from_row_group(
&mut self,
row_group_reader: &mut dyn RowGroupReader,
num_records: usize,
) -> Result<(), ParquetError>
fn read_from_row_group( &mut self, row_group_reader: &mut dyn RowGroupReader, num_records: usize, ) -> Result<(), ParquetError>
Read up to
num_records
records from row_group_reader
into self
.Source§impl RecordWriter<FieldRecord> for &[FieldRecord]
impl RecordWriter<FieldRecord> for &[FieldRecord]
Source§fn write_to_row_group<W: Write + Send>(
&self,
row_group_writer: &mut SerializedRowGroupWriter<'_, W>,
) -> Result<(), ParquetError>
fn write_to_row_group<W: Write + Send>( &self, row_group_writer: &mut SerializedRowGroupWriter<'_, W>, ) -> Result<(), ParquetError>
Writes from
self
into row_group_writer
.Auto Trait Implementations§
impl Freeze for FieldRecord
impl RefUnwindSafe for FieldRecord
impl Send for FieldRecord
impl Sync for FieldRecord
impl Unpin for FieldRecord
impl UnwindSafe for FieldRecord
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> 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