pub enum QueuedCommand {
Send {
from: String,
to: String,
message: String,
},
Assign {
from: String,
engineer: String,
task: String,
},
}Expand description
A message in the command queue.
Variants§
Trait Implementations§
Source§impl Clone for QueuedCommand
impl Clone for QueuedCommand
Source§fn clone(&self) -> QueuedCommand
fn clone(&self) -> QueuedCommand
Returns a duplicate of the value. Read more
1.0.0 · 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 QueuedCommand
impl Debug for QueuedCommand
Source§impl<'de> Deserialize<'de> for QueuedCommand
impl<'de> Deserialize<'de> for QueuedCommand
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 QueuedCommand
impl RefUnwindSafe for QueuedCommand
impl Send for QueuedCommand
impl Sync for QueuedCommand
impl Unpin for QueuedCommand
impl UnsafeUnpin for QueuedCommand
impl UnwindSafe for QueuedCommand
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