Enum taple_core::message::MessageTaskCommand
source · pub enum MessageTaskCommand<M>where
M: TaskCommandContent + Serialize + DeserializeOwned,{
Request(Option<String>, M, Vec<KeyIdentifier>, MessageConfig),
Cancel(String),
}
Variants§
Request(Option<String>, M, Vec<KeyIdentifier>, MessageConfig)
Cancel(String)
Trait Implementations§
source§impl<M> Clone for MessageTaskCommand<M>where
M: TaskCommandContent + Serialize + DeserializeOwned + Clone,
impl<M> Clone for MessageTaskCommand<M>where M: TaskCommandContent + Serialize + DeserializeOwned + Clone,
source§fn clone(&self) -> MessageTaskCommand<M>
fn clone(&self) -> MessageTaskCommand<M>
Returns a copy 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<M> Debug for MessageTaskCommand<M>where
M: TaskCommandContent + Serialize + DeserializeOwned + Debug,
impl<M> Debug for MessageTaskCommand<M>where M: TaskCommandContent + Serialize + DeserializeOwned + Debug,
source§impl<M> PartialEq<MessageTaskCommand<M>> for MessageTaskCommand<M>where
M: TaskCommandContent + Serialize + DeserializeOwned + PartialEq,
impl<M> PartialEq<MessageTaskCommand<M>> for MessageTaskCommand<M>where M: TaskCommandContent + Serialize + DeserializeOwned + PartialEq,
source§fn eq(&self, other: &MessageTaskCommand<M>) -> bool
fn eq(&self, other: &MessageTaskCommand<M>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<M> StructuralPartialEq for MessageTaskCommand<M>where M: TaskCommandContent + Serialize + DeserializeOwned,
Auto Trait Implementations§
impl<M> RefUnwindSafe for MessageTaskCommand<M>where M: RefUnwindSafe,
impl<M> Send for MessageTaskCommand<M>
impl<M> Sync for MessageTaskCommand<M>
impl<M> Unpin for MessageTaskCommand<M>where M: Unpin,
impl<M> UnwindSafe for MessageTaskCommand<M>where M: UnwindSafe,
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