pub struct StateTrackingConfig {
pub max_batch_time: Duration,
pub max_batch_size: usize,
pub deep_comparison: bool,
pub snapshot_throttle: Duration,
}
Expand description
Configuration options for state tracking
Fields§
§max_batch_time: Duration
Maximum time to batch changes before forcing flush
max_batch_size: usize
Maximum number of changes to batch
deep_comparison: bool
Whether to use deep comparison for objects/arrays
snapshot_throttle: Duration
Minimum time between state snapshots
Trait Implementations§
Source§impl Clone for StateTrackingConfig
impl Clone for StateTrackingConfig
Source§fn clone(&self) -> StateTrackingConfig
fn clone(&self) -> StateTrackingConfig
Returns a copy 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 StateTrackingConfig
impl Debug for StateTrackingConfig
Auto Trait Implementations§
impl Freeze for StateTrackingConfig
impl RefUnwindSafe for StateTrackingConfig
impl Send for StateTrackingConfig
impl Sync for StateTrackingConfig
impl Unpin for StateTrackingConfig
impl UnwindSafe for StateTrackingConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to Any for downcasting (mutable)
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Get the event type name
Source§impl<T> Props for T
impl<T> Props for T
Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert to mutable Any for downcasting