pub struct SentCommand {
pub command: String,
pub identifier: String,
pub data: Option<String>,
}Expand description
A command as the client wrote it.
Fields§
§command: StringThe verb: subscribe, unsubscribe or message.
identifier: StringThe identifier it is about.
data: Option<String>The payload, on a message.
Trait Implementations§
Source§impl Debug for SentCommand
impl Debug for SentCommand
Source§impl<'de> Deserialize<'de> for SentCommand
impl<'de> Deserialize<'de> for SentCommand
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 SentCommand
impl RefUnwindSafe for SentCommand
impl Send for SentCommand
impl Sync for SentCommand
impl Unpin for SentCommand
impl UnsafeUnpin for SentCommand
impl UnwindSafe for SentCommand
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