pub struct EmitterConfig {
pub interval_ms: u64,
pub on_change_enabled: bool,
pub change_threshold: f64,
}Expand description
Emitter configuration.
Fields§
§interval_ms: u64Default emission interval in milliseconds.
on_change_enabled: boolEnable on-change detection.
change_threshold: f64Minimum change threshold for on-change emission.
Trait Implementations§
Source§impl Clone for EmitterConfig
impl Clone for EmitterConfig
Source§fn clone(&self) -> EmitterConfig
fn clone(&self) -> EmitterConfig
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 EmitterConfig
impl Debug for EmitterConfig
Source§impl Default for EmitterConfig
impl Default for EmitterConfig
Source§impl<'de> Deserialize<'de> for EmitterConfig
impl<'de> Deserialize<'de> for EmitterConfig
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
Auto Trait Implementations§
impl Freeze for EmitterConfig
impl RefUnwindSafe for EmitterConfig
impl Send for EmitterConfig
impl Sync for EmitterConfig
impl Unpin for EmitterConfig
impl UnwindSafe for EmitterConfig
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