pub struct IoTasksConfig {
pub tx: Option<bool>,
pub rx: Option<bool>,
}Expand description
POST /api/config/io-tasks — toggle the per-direction TX/RX Embassy tasks.
Both fields are independently optional; omitted fields keep their current
device-side value.
Fields§
§tx: Option<bool>§rx: Option<bool>Implementations§
Source§impl IoTasksConfig
impl IoTasksConfig
pub fn to_cli_command(&self) -> Result<String, String>
Trait Implementations§
Source§impl Debug for IoTasksConfig
impl Debug for IoTasksConfig
Source§impl<'de> Deserialize<'de> for IoTasksConfig
impl<'de> Deserialize<'de> for IoTasksConfig
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 IoTasksConfig
impl RefUnwindSafe for IoTasksConfig
impl Send for IoTasksConfig
impl Sync for IoTasksConfig
impl Unpin for IoTasksConfig
impl UnsafeUnpin for IoTasksConfig
impl UnwindSafe for IoTasksConfig
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