Struct csml_interpreter::data::message::Message
source · Fields
content_type: String
content: Value
Implementations
sourceimpl Message
impl Message
pub fn new(literal: Literal, flow_name: &str) -> Result<Self, ErrorInfo>
pub fn add_to_message(msg_data: MessageData, action: MessageType) -> MessageData
pub fn switch_bot_message(bot_id: &str, client: &Client) -> Self
pub fn message_to_json(&mut self) -> Value
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more