Struct zenoh_config::DownsamplingRuleConf
source · pub struct DownsamplingRuleConf {
pub key_expr: OwnedKeyExpr,
pub freq: f64,
}
Fields§
§key_expr: OwnedKeyExpr
A list of key-expressions to which the downsampling will be applied. Downsampling will be applied for all key extensions if the parameter is None
freq: f64
The maximum frequency in Hertz;
Trait Implementations§
source§impl Clone for DownsamplingRuleConf
impl Clone for DownsamplingRuleConf
source§fn clone(&self) -> DownsamplingRuleConf
fn clone(&self) -> DownsamplingRuleConf
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 DownsamplingRuleConf
impl Debug for DownsamplingRuleConf
source§impl<'de> Deserialize<'de> for DownsamplingRuleConf
impl<'de> Deserialize<'de> for DownsamplingRuleConf
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 DownsamplingRuleConf
impl RefUnwindSafe for DownsamplingRuleConf
impl Send for DownsamplingRuleConf
impl Sync for DownsamplingRuleConf
impl Unpin for DownsamplingRuleConf
impl UnwindSafe for DownsamplingRuleConf
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