Struct marc::Subfield
[−]
[src]
pub struct Subfield<'a> { /* fields omitted */ }
View into a subfield of a MARC field
Methods
impl<'a> Subfield<'a>
[src]
fn get_tag(&self) -> Tag
Returns tag of a field this subfield belongs to.
fn get_identifier(&self) -> Identifier
Returns identifier of this subfield
fn get_data<O: FromFieldData + ?Sized>(&self) -> &O
Returns data of this subfield without subfield delimiter or identifier.
Trait Implementations
impl<'a> Eq for Subfield<'a>
[src]
impl<'a> PartialEq for Subfield<'a>
[src]
fn eq(&self, __arg_0: &Subfield<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Subfield<'a>) -> bool
This method tests for !=
.
impl<'a> Clone for Subfield<'a>
[src]
fn clone(&self) -> Subfield<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more