pub struct CollectionSection {
pub mode: Option<String>,
pub traffic_hz: Option<u64>,
pub phy_rate: Option<String>,
pub io_tx_enabled: Option<bool>,
pub io_rx_enabled: Option<bool>,
}Expand description
[Collection] section in show-config.
Fields§
§mode: Option<String>collection_mode — collector | listener.
traffic_hz: Option<u64>trigger_freq Hz. 0 disables traffic generation.
phy_rate: Option<String>phy_rate enum — e.g. mcs0-lgi. Only honored by ESP-NOW modes.
io_tx_enabled: Option<bool>io_tasks.tx_enabled.
io_rx_enabled: Option<bool>io_tasks.rx_enabled.
Trait Implementations§
Source§impl Clone for CollectionSection
impl Clone for CollectionSection
Source§fn clone(&self) -> CollectionSection
fn clone(&self) -> CollectionSection
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 CollectionSection
impl Debug for CollectionSection
Source§impl Default for CollectionSection
impl Default for CollectionSection
Source§fn default() -> CollectionSection
fn default() -> CollectionSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollectionSection
impl<'de> Deserialize<'de> for CollectionSection
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 CollectionSection
impl RefUnwindSafe for CollectionSection
impl Send for CollectionSection
impl Sync for CollectionSection
impl Unpin for CollectionSection
impl UnsafeUnpin for CollectionSection
impl UnwindSafe for CollectionSection
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