pub struct Record {
pub leader: Leader,
pub fields: Vec<Field>,
}Expand description
A MARC record describes a content or piece of content using a series of fields.
Fields are identified by a three-digit ASCII code (e.g. 001) and contain
either control or field data. Control fields are identified by being in the 000-099 range
while data fields are all the others.
Control fields contain a single piece of information
Fields§
§leader: LeaderThe leader is MARC’s way of naming the header info
fields: Vec<Field>The actual control and data fields
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
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