Struct marc::FieldRepr [−] [src]

pub struct FieldRepr { /* fields omitted */ }

MARC field representation

Methods

impl FieldRepr
[src]

Will return new FieldRepr with specified subfield included.

Errors

Will return Error if resuling field length (with field terminator) is greater than 9.999 bytes.

Will return new FieldRepr filtered by fun.

Subfield will be removed if fun returns false on it.

Returns tag of a field.

Returns data of a field (no field terminator).

Trait Implementations

impl Clone for FieldRepr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for FieldRepr
[src]

impl PartialEq for FieldRepr
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Ord for FieldRepr
[src]

This method returns an Ordering between self and other. Read more

impl PartialOrd for FieldRepr
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for FieldRepr
[src]

Formats the value using the given formatter.

impl Display for FieldRepr
[src]

Formats the value using the given formatter.

impl<T, Ind, Ident, D> From<(T, Ind, Vec<(Ident, D)>)> for FieldRepr where T: Into<Tag>, Ind: Into<Indicator>, Ident: Into<Identifier>, D: Into<Vec<u8>>
[src]

Performs the conversion.

impl<T: Into<Tag>, D: Into<Vec<u8>>> From<(T, D)> for FieldRepr
[src]

Performs the conversion.

impl<'a> From<Field<'a>> for FieldRepr
[src]

Performs the conversion.