pub struct AnswerCustomMessage {
pub custom_message: Value,
}
Expand description
Custom Messages are sent by calling sendExternalMessage
with the table of data you wish to send.
§Example
{
"message_id": 4,
"custom_message": { "foo": "Hello", "bar": "World"}
}
Fields§
§custom_message: Value
Content of the custom message
Trait Implementations§
Source§impl Debug for AnswerCustomMessage
impl Debug for AnswerCustomMessage
Source§impl<'de> Deserialize<'de> for AnswerCustomMessage
impl<'de> Deserialize<'de> for AnswerCustomMessage
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 AnswerCustomMessage
impl RefUnwindSafe for AnswerCustomMessage
impl Send for AnswerCustomMessage
impl Sync for AnswerCustomMessage
impl Unpin for AnswerCustomMessage
impl UnwindSafe for AnswerCustomMessage
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