pub struct DynCommand {
pub id: Option<String>,
pub command: Box<dyn CommandType>,
}
Expand description
Some abstracted command, ready for sending.
Fields§
§id: Option<String>
§command: Box<dyn CommandType>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DynCommand
impl !RefUnwindSafe for DynCommand
impl !Send for DynCommand
impl !Sync for DynCommand
impl Unpin for DynCommand
impl !UnwindSafe for DynCommand
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