pub struct LiveRowsConfig {
pub limit: Option<usize>,
pub key_columns: Option<Vec<String>>,
}Expand description
Configuration for live-query row materialization.
Fields§
§limit: Option<usize>Maximum number of rows to retain in the materialized result set.
When set, the newest rows are kept and older rows are discarded.
This is distinct from startup rewind settings such as last_rows and
batch_size, which only affect the initial snapshot sent by the server.
key_columns: Option<Vec<String>>Column names that together identify a stable row.
When omitted, live row materialization falls back to the id column.
Trait Implementations§
Source§impl Clone for LiveRowsConfig
impl Clone for LiveRowsConfig
Source§fn clone(&self) -> LiveRowsConfig
fn clone(&self) -> LiveRowsConfig
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 moreSource§impl Debug for LiveRowsConfig
impl Debug for LiveRowsConfig
Source§impl Default for LiveRowsConfig
impl Default for LiveRowsConfig
Source§fn default() -> LiveRowsConfig
fn default() -> LiveRowsConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LiveRowsConfig
impl RefUnwindSafe for LiveRowsConfig
impl Send for LiveRowsConfig
impl Sync for LiveRowsConfig
impl Unpin for LiveRowsConfig
impl UnsafeUnpin for LiveRowsConfig
impl UnwindSafe for LiveRowsConfig
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