Struct marc::Record [] [src]

pub struct Record<'a> { /* fields omitted */ }

Parsed MARC Record.

It could be borrowed if it was parsed from a buffer or it could be owned if it was read from an io::Read implementor.

Methods

impl<'a> Record<'a>
[src]

Will try to parse record from a buffer.

Will borrow an input for the lifetime of a produced record.

Will crate owned record from vector of bytes.

Will try to read a Record from an io::Read implementor.

Will produce owned version of Record.

Will return fields with tag == Tag

Will return iterator over fields of a record

View into a data of a record.

Trait Implementations

impl<'a> Debug for Record<'a>
[src]

Formats the value using the given formatter.

impl<'a> Clone for Record<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Display for Record<'a>
[src]

Formats the value using the given formatter.