pub struct DndArgs {
pub action: String,
}Fields§
§action: String“on”, “off” or “status”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DndArgs
impl<'de> Deserialize<'de> for DndArgs
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 Forget for DndArgs
impl Freeze for DndArgs
impl Move for DndArgs
impl RefUnwindSafe for DndArgs
impl Send for DndArgs
impl Sync for DndArgs
impl Unpin for DndArgs
impl UnsafeUnpin for DndArgs
impl UnwindSafe for DndArgs
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