pub enum LiveRowsEvent {
Rows {
subscription_id: String,
rows: Vec<HashMap<String, KalamCellValue>>,
last_seq_id: Option<SeqId>,
},
Error {
subscription_id: String,
code: String,
message: String,
},
}Expand description
High-level event emitted by a materialized live-query subscription.
Variants§
Rows
The current materialized row set.
Fields
§
rows: Vec<HashMap<String, KalamCellValue>>Error
A server-side subscription error.
Trait Implementations§
Source§impl Clone for LiveRowsEvent
impl Clone for LiveRowsEvent
Source§fn clone(&self) -> LiveRowsEvent
fn clone(&self) -> LiveRowsEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LiveRowsEvent
impl RefUnwindSafe for LiveRowsEvent
impl Send for LiveRowsEvent
impl Sync for LiveRowsEvent
impl Unpin for LiveRowsEvent
impl UnsafeUnpin for LiveRowsEvent
impl UnwindSafe for LiveRowsEvent
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