pub struct EchoConfig {
pub topics: Vec<String>,
pub decimation: u32,
pub max_messages: u32,
}Expand description
Configuration for a topic echo capture session.
Fields§
§topics: Vec<String>Topic names to subscribe to.
decimation: u32Decimation factor: capture every Nth message. 1 = all messages.
max_messages: u32Maximum number of messages to capture per topic (0 = unlimited).
Trait Implementations§
Source§impl Clone for EchoConfig
impl Clone for EchoConfig
Source§fn clone(&self) -> EchoConfig
fn clone(&self) -> EchoConfig
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 EchoConfig
impl Debug for EchoConfig
Source§impl Default for EchoConfig
impl Default for EchoConfig
Source§impl<'de> Deserialize<'de> for EchoConfig
impl<'de> Deserialize<'de> for EchoConfig
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 EchoConfig
impl RefUnwindSafe for EchoConfig
impl Send for EchoConfig
impl Sync for EchoConfig
impl Unpin for EchoConfig
impl UnsafeUnpin for EchoConfig
impl UnwindSafe for EchoConfig
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