pub struct Tables {
pub tables: HashMap<String, Rows>,
}Fields§
§tables: HashMap<String, Rows>Implementations§
Source§impl Tables
impl Tables
pub fn new() -> Self
pub fn create_row<K: AsRef<str>>(&mut self, table: &str, key: K) -> &mut Row
pub fn update_row<K: AsRef<str>>(&mut self, table: &str, key: K) -> &mut Row
pub fn delete_row<K: AsRef<str>>(&mut self, table: &str, key: K) -> &mut Row
pub fn to_entity_changes(self) -> EntityChanges
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tables
impl RefUnwindSafe for Tables
impl Send for Tables
impl Sync for Tables
impl Unpin for Tables
impl UnwindSafe for Tables
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more