pub struct AnswerPrint {
pub message: String,
}
Expand description
TTS sends all print()
messages in a AnswerPrint
response.
§Example
{
"message_id": 2,
"message": "Hit player! White"
}
Fields§
§message: String
Message that got printed
Trait Implementations§
Source§impl Debug for AnswerPrint
impl Debug for AnswerPrint
Source§impl<'de> Deserialize<'de> for AnswerPrint
impl<'de> Deserialize<'de> for AnswerPrint
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 AnswerPrint
impl RefUnwindSafe for AnswerPrint
impl Send for AnswerPrint
impl Sync for AnswerPrint
impl Unpin for AnswerPrint
impl UnwindSafe for AnswerPrint
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