Struct bookdata::marc::flat_fields::FieldRecord
source · 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 FrameBuilder<FieldRecord> for FieldRecordFrameBuilder
impl FrameBuilder<FieldRecord> for FieldRecordFrameBuilder
source§fn with_capacity(cap: usize) -> Self
fn with_capacity(cap: usize) -> Self
Instantiate a frame builder with a specified capacity.
source§fn append_row(&mut self, row: FieldRecord)
fn append_row(&mut self, row: FieldRecord)
Add a row to the frame builder.
source§fn extend<I>(&mut self, iter: I)where
I: IntoIterator<Item = R>,
fn extend<I>(&mut self, iter: I)where
I: IntoIterator<Item = R>,
Add an iterable of items to the frame.
source§impl<'a> FrameStruct<'a, FieldRecord> for FieldRecordFrame<'a>
impl<'a> FrameStruct<'a, FieldRecord> for FieldRecordFrame<'a>
source§impl TableRow for FieldRecord
impl TableRow for FieldRecord
§type Frame<'a> = FieldRecordFrame<'a>
type Frame<'a> = FieldRecordFrame<'a>
The frame struct for this row type.
§type Builder = FieldRecordFrameBuilder
type Builder = FieldRecordFrameBuilder
The frame builder type for this row type.
Auto Trait Implementations§
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