pub struct RateConfig {
pub rate: String,
}Expand description
POST /api/config/rate — pin the Wi-Fi PHY rate (only honored in ESP-NOW
modes).
Fields§
§rate: Stringe.g. 1m, 2m, 5m5, 11m, 6m..54m, mcs0-lgi..mcs7-lgi,
mcs0-sgi.
Implementations§
Source§impl RateConfig
impl RateConfig
pub fn to_cli_command(&self) -> String
Trait Implementations§
Source§impl Debug for RateConfig
impl Debug for RateConfig
Source§impl<'de> Deserialize<'de> for RateConfig
impl<'de> Deserialize<'de> for RateConfig
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 RateConfig
impl RefUnwindSafe for RateConfig
impl Send for RateConfig
impl Sync for RateConfig
impl Unpin for RateConfig
impl UnsafeUnpin for RateConfig
impl UnwindSafe for RateConfig
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