[−][src]Struct ion::Section
Fields
dictionary: Dictionary
rows: Vec<Row>
Methods
impl Section
[src]
pub fn new() -> Section
[src]
pub fn with_capacity(n: usize) -> Section
[src]
pub fn get(&self, name: &str) -> Option<&Value>
[src]
pub fn fetch(&self, key: &str) -> Result<&Value, IonError>
[src]
like get, only returns a Result
pub fn rows_without_header(&self) -> &[Row]
[src]
pub fn parse<F: FromIon<Section>>(&self) -> Result<F, F::Err>
[src]
Trait Implementations
impl Debug for Section
[src]
impl Display for Section
[src]
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
[src]
impl IntoIterator for Section
[src]
type Item = Row
The type of the elements being iterated over.
type IntoIter = IntoIter<Row>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl PartialEq<Section> for Section
[src]
impl StructuralPartialEq for Section
[src]
Auto Trait Implementations
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnwindSafe for Section
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,