Fields
values: HashMap<String, Value>Implementations
sourceimpl Row
impl Row
pub fn new() -> Self
pub fn to_string(&self, columns: &Vec<Column>) -> Result<String, DcsvError>
pub fn rename_column(&mut self, name: &str, new_name: &str)
pub fn insert_cell(&mut self, key: &str, value: Value)
pub fn get_cell_value(&self, key: &str) -> Option<&Value>
pub fn update_cell_value(&mut self, key: &str, value: Value)
pub fn change_cell_type(
&mut self,
key: &str,
target_type: ValueType
) -> Result<(), DcsvError>
pub fn remove_cell(&mut self, key: &str)
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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