pub struct Session {
pub meta: Map<String, Value>,
pub tables: BTreeMap<&'static str, Table>,
}Expand description
An in-memory session: metadata plus one table per stream.
Fields§
§meta: Map<String, Value>session.json contents.
tables: BTreeMap<&'static str, Table>Stream name → table.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Session
impl Freeze for Session
impl Move for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
Blanket Implementations§
impl<T> Allocation for T
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