pub struct InteractiveMessage {
pub task_id: Uuid,
pub data: String,
pub message_type: u8,
}Fields§
§task_id: Uuid§data: String§message_type: u8Trait Implementations§
Source§impl Clone for InteractiveMessage
impl Clone for InteractiveMessage
Source§fn clone(&self) -> InteractiveMessage
fn clone(&self) -> InteractiveMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InteractiveMessage
impl Debug for InteractiveMessage
Source§impl Default for InteractiveMessage
impl Default for InteractiveMessage
Source§fn default() -> InteractiveMessage
fn default() -> InteractiveMessage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InteractiveMessage
impl<'de> Deserialize<'de> for InteractiveMessage
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
Source§impl PartialEq for InteractiveMessage
impl PartialEq for InteractiveMessage
Source§fn eq(&self, other: &InteractiveMessage) -> bool
fn eq(&self, other: &InteractiveMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InteractiveMessage
impl Serialize for InteractiveMessage
impl Eq for InteractiveMessage
impl StructuralPartialEq for InteractiveMessage
Auto Trait Implementations§
impl Freeze for InteractiveMessage
impl RefUnwindSafe for InteractiveMessage
impl Send for InteractiveMessage
impl Sync for InteractiveMessage
impl Unpin for InteractiveMessage
impl UnsafeUnpin for InteractiveMessage
impl UnwindSafe for InteractiveMessage
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