Struct ion::Section
[−]
[src]
pub struct Section { pub dictionary: Dictionary, pub rows: Vec<Row>, }
Fields
dictionary: Dictionary
rows: Vec<Row>
Methods
impl Section
[src]
fn new() -> Section
fn get(&self, name: &str) -> Option<&Value>
fn fetch(&self, key: &str) -> Result<&Value, IonError>
like get, only returns a Result
fn rows_without_header(&self) -> &[Row]
fn parse<F: FromIon<Section>>(&self) -> Result<F, F::Err>
Trait Implementations
impl Display for Section
[src]
impl Debug for Section
[src]
impl PartialEq for Section
[src]
fn eq(&self, __arg_0: &Section) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Section) -> bool
This method tests for !=
.
impl<'a> IntoIterator for &'a Section
[src]
type Item = Row
The type of the elements being iterated over.
type IntoIter = IntoIter<Self::Item>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
Creates an iterator from a value. Read more