Struct formats::data_struct::Row
source · [−]pub struct Row {
pub values: Vec<BasicTypes>,
}
Fields
values: Vec<BasicTypes>
Implementations
sourceimpl Row
impl Row
pub fn new(values: Vec<String>) -> Row
pub fn from_iter<'a, T: Iterator<Item = &'a str>>(iter: T) -> Row
pub fn as_vec(&self) -> &Vec<BasicTypes>
pub fn to_csv_vec(&self) -> Vec<String>
pub fn to_serde_map(&self, headers: &Row) -> Map<String, Value>
pub fn to_yaml_hash(&self, headers: &Row) -> Yaml
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnwindSafe for Row
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more