pub struct TableState {
pub columns: BTreeMap<Col, ColRecord>,
pub rows: BTreeMap<Row, RowRecord>,
}Fields§
§columns: BTreeMap<Col, ColRecord>§rows: BTreeMap<Row, RowRecord>Implementations§
Trait Implementations§
Source§impl Clone for TableState
impl Clone for TableState
Source§fn clone(&self) -> TableState
fn clone(&self) -> TableState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TableState
impl Debug for TableState
Source§impl<'de> Deserialize<'de> for TableState
impl<'de> Deserialize<'de> for TableState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Flow for TableState
impl Flow for TableState
Source§type Event = TableEvent
type Event = TableEvent
UpdateEvent - that sent from a server to a clientfn stream_type() -> StreamType
fn apply(&mut self, event: TimedEvent<Self::Event>)
fn pack_state(&self) -> Result<PackedState, Error>
fn unpack_state(data: &PackedState) -> Result<Self, Error>
fn pack_event(delta: &TimedEvent<Self::Event>) -> Result<PackedEvent, Error>
fn unpack_event(data: &PackedEvent) -> Result<TimedEvent<Self::Event>, Error>
fn pack_action(action: &Self::Action) -> Result<PackedAction, Error>
fn unpack_action(data: &PackedAction) -> Result<Self::Action, Error>
Auto Trait Implementations§
impl Freeze for TableState
impl RefUnwindSafe for TableState
impl Send for TableState
impl Sync for TableState
impl Unpin for TableState
impl UnwindSafe for TableState
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